Merge pull request #2683 from valiz/master
Fix commands that require password with unencrypted wallet
This commit is contained in:
commit
41e39caad1
|
@ -100,6 +100,9 @@ class Commands:
|
|||
password = password_getter()
|
||||
if password is None:
|
||||
return
|
||||
else:
|
||||
password = None
|
||||
|
||||
f = getattr(self, method)
|
||||
if cmd.requires_password:
|
||||
result = f(*args, **{'password':password})
|
||||
|
|
Loading…
Reference in New Issue