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 committed 2023-01-16 19:01:09 +02:00
1 parent 599e941c19
commit 0377d6bb42
25 files changed
+7 -29

No files matched your search

-1
View File
@@ -215,7 +215,6 @@ class ZMQTest (BitcoinTestFramework):
assert_equal([txid.hex()], self.nodes[1].getblock(hash)["tx"])
self.wallet.rescan_utxos()
self.log.info("Wait for tx from second node")
payment_tx = self.wallet.send_self_transfer(from_node=self.nodes[1])
payment_txid = payment_tx['txid']