mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-06 13:47:56 +02: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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user