commit e83d2b87723d378da8b15e0d2242a557d33687b3
parent 5ee4cf41a83cb429f7f95094932076705a847cfd
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 5 Mar 2017 16:15:50 +0100
fix typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/transaction.py b/lib/transaction.py
@@ -824,7 +824,7 @@ class Transaction:
fd_key = 'fd00' + bitcoin.hash_160(pubkeys[j].decode('hex')).encode('hex')
if x_pubkey in keypairs.keys() or fd_key in keypairs.keys():
print_error("adding signature for", x_pubkey)
- sec = keypairs.get(x_pubkey) or keypairs.get(fd)
+ sec = keypairs.get(x_pubkey) or keypairs.get(fd_key)
pubkey = public_key_from_private_key(sec)
assert pubkey == pubkeys[j]
# add signature