diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2021-11-26 17:10:55 +0100 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2021-11-26 17:10:55 +0100 |
commit | 166f8ec28e48aa4c0cd94544909c488df553d8ef (patch) | |
tree | ed28626194313e6b41e2df939c54bdeb4cc9190d /test | |
parent | 111c3e06b35b7867f2e0f740e988f648ac6c325d (diff) | |
download | bitcoin-166f8ec28e48aa4c0cd94544909c488df553d8ef.tar.xz |
test: always rescan after importing private keys in `init_wallet` helper
This fixes the functional test feature_rbf.py for descriptor wallets.
Diffstat (limited to 'test')
-rwxr-xr-x | test/functional/test_framework/test_framework.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py index a781da2720..6746fbf9f9 100755 --- a/test/functional/test_framework/test_framework.py +++ b/test/functional/test_framework/test_framework.py @@ -431,7 +431,7 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass): n = self.nodes[node] if wallet_name is not None: n.createwallet(wallet_name=wallet_name, descriptors=self.options.descriptors, load_on_startup=True) - n.importprivkey(privkey=n.get_deterministic_priv_key().key, label='coinbase') + n.importprivkey(privkey=n.get_deterministic_priv_key().key, label='coinbase', rescan=True) def run_test(self): """Tests must override this method to define test logic""" |