commit 2e567fc86a4d4e85240d948db988eb4df877ee40
parent 6d2b53cdca4b0327b278d99985b4cd0116c808ba
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 27 Aug 2017 10:48:41 +0200
fix #2784
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/keystore.py b/lib/keystore.py
@@ -140,7 +140,7 @@ class Imported_KeyStore(Software_KeyStore):
return True
def check_password(self, password):
- pubkey = self.keypairs.keys()[0]
+ pubkey = list(self.keypairs.keys())[0]
self.get_private_key(pubkey, password)
def import_key(self, sec, password):