fix #2026
This commit is contained in:
@@ -91,7 +91,7 @@ class Commands:
|
|||||||
|
|
||||||
def _run(self, method, args, password_getter):
|
def _run(self, method, args, password_getter):
|
||||||
cmd = known_commands[method]
|
cmd = known_commands[method]
|
||||||
if cmd.requires_password and self.wallet.use_encryption:
|
if cmd.requires_password and self.wallet.has_password():
|
||||||
self._password = apply(password_getter,())
|
self._password = apply(password_getter,())
|
||||||
if self._password is None:
|
if self._password is None:
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user