diff --git a/plugins/ledger/ledger.py b/plugins/ledger/ledger.py index 53a5f9c0b..2a35cef31 100644 --- a/plugins/ledger/ledger.py +++ b/plugins/ledger/ledger.py @@ -191,7 +191,7 @@ class BTChipWallet(BIP44_Wallet): pin = "" rawTx = tx.serialize() # Fetch inputs of the transaction to sign - for txinput in tx.inputs: + for txinput in tx.inputs(): if ('is_coinbase' in txinput and txinput['is_coinbase']): self.give_error("Coinbase not supported") # should never happen inputs.append([ self.transactions[txinput['prevout_hash']].raw,