diff options
author | kouloumos <kouloumosa@gmail.com> | 2023-01-13 11:28:39 +0200 |
---|---|---|
committer | kouloumos <kouloumosa@gmail.com> | 2023-01-16 19:01:09 +0200 |
commit | 0377d6bb420b9a2fb79af0ebe088d2b20ec808a5 (patch) | |
tree | 3da27d52b59568b8c3c8b0bc182f46a319bdf0eb /test/functional/feature_rbf.py | |
parent | 599e941c194749dab35d81a4e898fd79dd2ed129 (diff) | |
download | bitcoin-0377d6bb420b9a2fb79af0ebe088d2b20ec808a5.tar.xz |
test: add `rescan_utxos` in MiniWallet's initialization
this simplifies usage when MiniWallet is used with a pre-mined chain.
Diffstat (limited to 'test/functional/feature_rbf.py')
-rwxr-xr-x | test/functional/feature_rbf.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/functional/feature_rbf.py b/test/functional/feature_rbf.py index 085ff3a2e3..0a84a66a8f 100755 --- a/test/functional/feature_rbf.py +++ b/test/functional/feature_rbf.py @@ -42,10 +42,6 @@ class ReplaceByFeeTest(BitcoinTestFramework): def run_test(self): self.wallet = MiniWallet(self.nodes[0]) - # the pre-mined test framework chain contains coinbase outputs to the - # MiniWallet's default address in blocks 76-100 (see method - # BitcoinTestFramework._initialize_chain()) - self.wallet.rescan_utxos() self.log.info("Running test simple doublespend...") self.test_simple_doublespend() @@ -398,7 +394,6 @@ class ReplaceByFeeTest(BitcoinTestFramework): """ normal_node = self.nodes[1] wallet = MiniWallet(normal_node) - wallet.rescan_utxos() # Clear mempools to avoid cross-node sync failure. for node in self.nodes: self.generate(node, 1) |