commit 59d39108823989966e27a2f5df24c296cf2c1187
parent 1a46a795a5cf510789f21c47771363a7b31f1b4a
Author: ThomasV <thomasv@electrum.org>
Date: Sun, 29 May 2016 20:36:52 +0200
fix utxo_can_sign
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -1209,7 +1209,7 @@ class Abstract_Wallet(PrintError):
out = set()
coins = self.get_spendable_coins()
for i in tx.inputs_without_script():
- txin = tx.inputs[i]
+ txin = tx.inputs()[i]
for item in coins:
if txin.get('prevout_hash') == item.get('prevout_hash') and txin.get('prevout_n') == item.get('prevout_n'):
out.add((i, item.get('address')))