fix ledger signing issue
This commit is contained in:
@@ -191,7 +191,7 @@ class BTChipWallet(BIP44_Wallet):
|
|||||||
pin = ""
|
pin = ""
|
||||||
rawTx = tx.serialize()
|
rawTx = tx.serialize()
|
||||||
# Fetch inputs of the transaction to sign
|
# 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']):
|
if ('is_coinbase' in txinput and txinput['is_coinbase']):
|
||||||
self.give_error("Coinbase not supported") # should never happen
|
self.give_error("Coinbase not supported") # should never happen
|
||||||
inputs.append([ self.transactions[txinput['prevout_hash']].raw,
|
inputs.append([ self.transactions[txinput['prevout_hash']].raw,
|
||||||
|
|||||||
Reference in New Issue
Block a user