Merge pull request #2683 from valiz/master

Fix commands that require password with unencrypted wallet
This commit is contained in:
ThomasV 2017-08-04 05:37:17 +02:00 committed by GitHub
commit 41e39caad1
1 changed files with 3 additions and 0 deletions

View File

@ -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})