mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-16 16:32:47 +00:00
test: Sync mempools after tx creation in rpc_gettxspendingprevout
The test will query information from the other nodes about mempool txs, ensure that the txs are in their mempools beforehand.
This commit is contained in:
parent
ca45461ddb
commit
2db5c049bb
@ -76,6 +76,7 @@ class GetTxSpendingPrevoutTest(BitcoinTestFramework):
|
||||
txs = [txA, txB, txC, txD, txE, txF, txG, txH]
|
||||
txidA, txidB, txidC, txidD, txidE, txidF, txidG, txidH = [tx["txid"] for tx in txs]
|
||||
|
||||
self.sync_mempools()
|
||||
mempool = node0.getrawmempool()
|
||||
assert_equal(len(mempool), 8)
|
||||
for tx in txs:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user