Skip to content

Commit

Permalink
Avoid using immature coinbase UTXOs for dummy TXins
Browse files Browse the repository at this point in the history
  • Loading branch information
codablock committed Jan 21, 2019
1 parent 8c415fc commit 1fd9cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa/rpc-tests/dip3-deterministicmns.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def spend_input(self, txid, vout, amount, with_dummy_input_output=False):
dummy_txin = None
if with_dummy_input_output:
dummyaddress = self.nodes[0].getnewaddress()
unspent = self.nodes[0].listunspent(20)
unspent = self.nodes[0].listunspent(110)
for u in unspent:
if u['amount'] > Decimal(1):
dummy_txin = {'txid': u['txid'], 'vout': u['vout']}
Expand Down

0 comments on commit 1fd9cfa

Please sign in to comment.