test: Replace MiniWallet scan_blocks with rescan_utxos

This commit is contained in:
MarcoFalke committed 2021-09-20 08:31:04 +02:00
1 parent 226731ac11
commit fa7e3f1fc1
5 files changed
+7 -14

No files matched your search

+1 -1
View File
@@ -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