Avoid using immature coinbase UTXOs for dummy TXins
This commit is contained in:
parent
4d25148c03
commit
b970c20a96
@ -451,7 +451,7 @@ class DIP3Test(BitcoinTestFramework):
|
|||||||
dummy_txin = None
|
dummy_txin = None
|
||||||
if with_dummy_input_output:
|
if with_dummy_input_output:
|
||||||
dummyaddress = self.nodes[0].getnewaddress()
|
dummyaddress = self.nodes[0].getnewaddress()
|
||||||
unspent = self.nodes[0].listunspent(20)
|
unspent = self.nodes[0].listunspent(110)
|
||||||
for u in unspent:
|
for u in unspent:
|
||||||
if u['amount'] > Decimal(1):
|
if u['amount'] > Decimal(1):
|
||||||
dummy_txin = {'txid': u['txid'], 'vout': u['vout']}
|
dummy_txin = {'txid': u['txid'], 'vout': u['vout']}
|
||||||
|
Loading…
Reference in New Issue
Block a user