From 59d39108823989966e27a2f5df24c296cf2c1187 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Sun, 29 May 2016 20:36:52 +0200 Subject: [PATCH] fix utxo_can_sign --- lib/wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wallet.py b/lib/wallet.py index f07137b3..9b7fd8f7 100644 --- 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')))