1
0

fix utxo_can_sign

This commit is contained in:
ThomasV
2016-05-29 20:36:52 +02:00
parent 1a46a795a5
commit 59d3910882

View File

@@ -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')))