We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b379bb2 commit c1a4713Copy full SHA for c1a4713
test/functional/mempool_unbroadcast.py
@@ -41,6 +41,10 @@ def test_broadcast(self):
41
# generate a wallet txn
42
addr = node.getnewaddress()
43
wallet_tx_hsh = node.sendtoaddress(addr, 0.0001)
44
+ wallet_tx = node.gettransaction(wallet_tx_hsh,True,True)
45
+
46
+ # remove UTXO spent
47
+ utxos = [utxo for utxo in utxos if utxo['txid'] != wallet_tx['decoded']['vin'][0]['txid']]
48
49
# generate a txn using sendrawtransaction
50
us0 = utxos.pop()
0 commit comments