wallet: only select mature coins by default
this is a regression from #5721 Removed the `TxInput.is_coinbase` method as I think it is a confusing API, instead we now have `TxInput.is_coinbase_input` and `TxInput.is_coinbase_output`. related #5872
This commit is contained in:
@@ -364,7 +364,7 @@ class KeepKeyPlugin(HW_PluginBase):
|
||||
inputs = []
|
||||
for txin in tx.inputs():
|
||||
txinputtype = self.types.TxInputType()
|
||||
if txin.is_coinbase():
|
||||
if txin.is_coinbase_input():
|
||||
prev_hash = b"\x00"*32
|
||||
prev_index = 0xffffffff # signed int -1
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user