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()
|
password = password_getter()
|
||||||
if password is None:
|
if password is None:
|
||||||
return
|
return
|
||||||
|
else:
|
||||||
|
password = None
|
||||||
|
|
||||||
f = getattr(self, method)
|
f = getattr(self, method)
|
||||||
if cmd.requires_password:
|
if cmd.requires_password:
|
||||||
result = f(*args, **{'password':password})
|
result = f(*args, **{'password':password})
|
||||||
|
|
Loading…
Reference in New Issue