test: add rescan_utxos in MiniWallet's initialization

this simplifies usage when MiniWallet is used with a pre-mined chain.
This commit is contained in:
kouloumos
2023-01-13 11:28:39 +02:00
parent 599e941c19
commit 0377d6bb42
25 changed files with 7 additions and 29 deletions

View File

@@ -31,7 +31,6 @@ 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.rescan_utxos()
# Three scenarios for re-orging coinbase spends in the memory pool:
# 1. Direct coinbase spend : spend_1