From 3c7171ede8082934d6f3c87d61794df7a7033ee0 Mon Sep 17 00:00:00 2001 From: Vali Zero Date: Thu, 3 Aug 2017 21:32:25 +0300 Subject: [PATCH] Fix commands that require password with unencrypted wallet --- lib/commands.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/commands.py b/lib/commands.py index 442228ee..642ccae0 100644 --- a/lib/commands.py +++ b/lib/commands.py @@ -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})