mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-11 15:19:19 +02:00
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:
@@ -42,7 +42,6 @@ class TxindexCompatibilityTest(BitcoinTestFramework):
|
||||
|
||||
def run_test(self):
|
||||
mini_wallet = MiniWallet(self.nodes[1])
|
||||
mini_wallet.rescan_utxos()
|
||||
spend_utxo = mini_wallet.get_utxo()
|
||||
mini_wallet.send_self_transfer(from_node=self.nodes[1], utxo_to_spend=spend_utxo)
|
||||
self.generate(self.nodes[1], 1)
|
||||
|
||||
Reference in New Issue
Block a user