mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 14:59:39 -04:00
Merge bitcoin/bitcoin#31893: test: remove scanning check on wallet_importdescriptors
405dd0e647
test: remove scanning check on `wallet_importdescriptors` (brunoerg) Pull request description: Reverts recently merged https://github.com/bitcoin/bitcoin/pull/31768 due to CI failures, see issue https://github.com/bitcoin/bitcoin/issues/31881. ACKs for top commit: hodlinator: cr-ACK405dd0e647
BrandonOdiwuor: Code Review ACK405dd0e647
theStack: ACK405dd0e647
Tree-SHA512: 7f6182f073c12e44b76ac3069307990ba1d70310173f1adefdb1aa3eda3bdd2e81172dee75355f2e2e4f8edf9b8979256e2ed8c3fa5c953e99ecd0bb53bec3ed
This commit is contained in:
commit
63d625f761
1 changed files with 0 additions and 8 deletions
|
@ -24,7 +24,6 @@ from test_framework.test_framework import BitcoinTestFramework
|
|||
from test_framework.descriptors import descsum_create
|
||||
from test_framework.util import (
|
||||
assert_equal,
|
||||
assert_greater_than,
|
||||
assert_raises_rpc_error,
|
||||
)
|
||||
from test_framework.wallet_util import (
|
||||
|
@ -706,13 +705,6 @@ class ImportDescriptorsTest(BitcoinTestFramework):
|
|||
except JSONRPCException as e:
|
||||
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"]
|
||||
|
||||
wallet_info = self.nodes[0].cli("-rpcwallet=encrypted_wallet").getwalletinfo()
|
||||
try:
|
||||
duration = wallet_info["scanning"]["duration"]
|
||||
assert_greater_than(duration, 0)
|
||||
except Exception:
|
||||
assert "scanning" not in wallet_info
|
||||
|
||||
assert_equal(importing.result(), [{"success": True}])
|
||||
|
||||
assert_equal(temp_wallet.getbalance(), encrypted_wallet.getbalance())
|
||||
|
|
Loading…
Add table
Reference in a new issue