Merge pull request #7681 from yyforyongyu/btcwallet-mempool

mod: update btcwallet's version
This commit is contained in:
Oliver Gugger authored and GitHub committed 2023-05-22 10:24:17 +02:00
commit 3d53d6909a
7 files changed
+56 -24

No files matched your search

+3 -9
View File
@@ -1653,18 +1653,12 @@ func (h *HarnessTest) cleanMempool() {
blocks := h.Miner.MineBlocksSlow(1)
bestBlock = blocks[len(blocks)-1]
// Make sure all the active nodes are synced.
h.AssertActiveNodesSyncedTo(bestBlock)
return fmt.Errorf("still have %d txes in mempool", len(mem))
}, wait.MinerMempoolTimeout)
require.NoError(h, err, "timeout cleaning up mempool")
// Exit early if the best block is nil, which means we haven't mined
// any blocks during the cleanup.
if bestBlock == nil {
return
}
// Make sure all the active nodes are synced.
h.AssertActiveNodesSyncedTo(bestBlock)
}
// CleanShutDown is used to quickly end a test by shutting down all non-standby