Skip to content

Commit 405dd0e

Browse files
committed
test: remove scanning check on wallet_importdescriptors
1 parent 9da0820 commit 405dd0e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/functional/wallet_importdescriptors.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
from test_framework.descriptors import descsum_create
2525
from test_framework.util import (
2626
assert_equal,
27-
assert_greater_than,
2827
assert_raises_rpc_error,
2928
)
3029
from test_framework.wallet_util import (
@@ -706,13 +705,6 @@ def run_test(self):
706705
except JSONRPCException as e:
707706
assert e.error["code"] == -4 and "Error: the wallet is currently being used to rescan the blockchain for related transactions. Please call `abortrescan` before changing the passphrase." in e.error["message"]
708707

709-
wallet_info = self.nodes[0].cli("-rpcwallet=encrypted_wallet").getwalletinfo()
710-
try:
711-
duration = wallet_info["scanning"]["duration"]
712-
assert_greater_than(duration, 0)
713-
except Exception:
714-
assert "scanning" not in wallet_info
715-
716708
assert_equal(importing.result(), [{"success": True}])
717709

718710
assert_equal(temp_wallet.getbalance(), encrypted_wallet.getbalance())

0 commit comments

Comments
 (0)