From 2bc1ecfaa9b69a20388e913ec64967de2f506cd3 Mon Sep 17 00:00:00 2001 From: Fabian Jahr Date: Mon, 19 Feb 2024 17:47:34 +0100 Subject: [PATCH] test: Remove unnecessary sync_blocks in assumeutxo tests The nodes are not connected at this point and no blocks have been mined, so it does not seem do anything --- test/functional/feature_assumeutxo.py | 2 -- test/functional/wallet_assumeutxo.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/test/functional/feature_assumeutxo.py b/test/functional/feature_assumeutxo.py index 60dd751ff8..d313f0ee27 100755 --- a/test/functional/feature_assumeutxo.py +++ b/test/functional/feature_assumeutxo.py @@ -166,8 +166,6 @@ class AssumeutxoTest(BitcoinTestFramework): for n in self.nodes: n.setmocktime(n.getblockheader(n.getbestblockhash())['time']) - self.sync_blocks() - # Generate a series of blocks that `n0` will have in the snapshot, # but that n1 doesn't yet see. In order for the snapshot to activate, # though, we have to ferry over the new headers to n1 so that it diff --git a/test/functional/wallet_assumeutxo.py b/test/functional/wallet_assumeutxo.py index 3c1a997bd1..30396da015 100755 --- a/test/functional/wallet_assumeutxo.py +++ b/test/functional/wallet_assumeutxo.py @@ -62,8 +62,6 @@ class AssumeutxoTest(BitcoinTestFramework): for n in self.nodes: n.setmocktime(n.getblockheader(n.getbestblockhash())['time']) - self.sync_blocks() - n0.createwallet('w') w = n0.get_wallet_rpc("w")