From 988fb4e4135ef8536cdcfa1066868ed0489bf9f0 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 4 Oct 2017 14:46:56 +0200 Subject: [PATCH] follow up 0f4b5abc158d46ac25fc2a976154004a2c705f2d --- lib/keystore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/keystore.py b/lib/keystore.py index 6e9d99cde..1a2f9393c 100644 --- 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)