aboutsummaryrefslogtreecommitdiff
path: root/test/functional/mempool_reorg.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-09-17 15:38:38 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-09-20 08:31:04 +0200
commitfa7e3f1fc114056967963a4ad4863a56e406c57e (patch)
tree521abe1118ad3a0e2d7dea65265406c017c57d0d /test/functional/mempool_reorg.py
parent226731ac1144886d693d3508b331f98727ab883c (diff)
downloadbitcoin-fa7e3f1fc114056967963a4ad4863a56e406c57e.tar.xz
test: Replace MiniWallet scan_blocks with rescan_utxos
Diffstat (limited to 'test/functional/mempool_reorg.py')
-rwxr-xr-xtest/functional/mempool_reorg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/mempool_reorg.py b/test/functional/mempool_reorg.py
index 0ee6af62f6..260b41ef12 100755
--- a/test/functional/mempool_reorg.py
+++ b/test/functional/mempool_reorg.py
@@ -31,7 +31,7 @@ class MempoolCoinbaseTest(BitcoinTestFramework):
self.log.info("Add 4 coinbase utxos to the miniwallet")
# Block 76 contains the first spendable coinbase txs.
first_block = 76
- wallet.scan_blocks(start=first_block, num=4)
+ wallet.rescan_utxos()
# Three scenarios for re-orging coinbase spends in the memory pool:
# 1. Direct coinbase spend : spend_1