commit 988fb4e4135ef8536cdcfa1066868ed0489bf9f0
parent dd006b5087581fcdca599f3aed2a8fb5ad067552
Author: ThomasV <thomasv@electrum.org>
Date: Wed, 4 Oct 2017 14:46:56 +0200
follow up 0f4b5abc158d46ac25fc2a976154004a2c705f2d
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/keystore.py b/lib/keystore.py
@@ -87,7 +87,7 @@ class Software_KeyStore(KeyStore):
return not self.is_watching_only()
def sign_message(self, sequence, message, password):
- sec = self.get_private_key(sequence, password)
+ privkey = self.get_private_key(sequence, password)
compressed = self.use_compressed_pubkeys
key = regenerate_key(privkey)
return key.sign_message(message, compressed)