Skip to content

Conversation

f321x
Copy link
Member

@f321x f321x commented Aug 4, 2025

Handles passing the wallet path as wallet command argument instead of wallet_path. This did work in 4.5.8 and fails in 4.6.0 as the wallet path string will get passed directly to the command instead of the required wallet object, causing an exception when methods are called on the str.
Fixes #10097

handles passing the wallet path as 'wallet' argument instead of
'wallet_path'. This did work in 4.5.8 and fails in 4.6.0 as the wallet
path string will get passed directly to the command instead of the
required wallet object, causing an exception when methods are called on
the str.
@SomberNight
Copy link
Member

This was intentionally removed in 37914d5, perhaps due to misunderstanding why it was there.
Some unit tests even got adapted so that they pass.

If we change it back, we need some kind of test that explicitly tests this behaviour, and explains we want it, otherwise we are just going back-and-forth :/

@f321x f321x marked this pull request as draft August 4, 2025 15:04
@f321x
Copy link
Member Author

f321x commented Aug 4, 2025

will undraft after implementing unittests based on the command testing framework mentioned in #9847 (comment) once its on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[4.6.0] AttributeError('str' object has no attribute 'get_addresses')
2 participants