-
Notifications
You must be signed in to change notification settings - Fork 36.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
walletdb: don't reinitialize desc cache with multiple cache entries
When loading descriptor caches, we would accidentally reinitialize the descriptor cache when seeing that one already exists. This should have only been initializing the cache when one does not exist. However this code itself is unnecessary as the act of looking up the cache to add to it will initialize it if it didn't already exist. This issue could be hit by trying to load a wallet that had imported a multisig descriptor. The wallet would fail to load. A test has been added to wallet_importdescriptors.py to catch this case. Another test case has also been added to check that loading a wallet with only single key descriptors works.
- v28.1
- v28.1rc2
- v28.1rc1
- v28.0
- v28.0rc2
- v28.0rc1
- v27.2
- v27.2rc1
- v27.1
- v27.1rc1
- v27.0
- v27.0rc1
- v26.2
- v26.2rc1
- v26.1
- v26.1rc2
- v26.1rc1
- v26.0
- v26.0rc3
- v26.0rc2
- v26.0rc1
- v25.2
- v25.2rc2
- v25.2rc1
- v25.1
- v25.1rc1
- v25.0
- v25.0rc2
- v25.0rc1
- v24.2
- v24.2rc1
- v24.1
- v24.1rc3
- v24.1rc2
- v24.1rc1
- v24.0.1
- v24.0
- v24.0rc4
- v24.0rc3
- v24.0rc2
- v24.0rc1
- v23.2
- v23.2rc1
- v23.1
- v23.1rc2
- v23.1rc1
- v23.0
- v23.0rc5
- v23.0rc4
- v23.0rc3
- v23.0rc2
- v23.0rc1
- v23-final
- v22.1
- v22.1rc2
- v22.1rc1
- v22.0
- v22.0rc3
- v22.0rc2
- v22.0rc1
- v22-final
- v21.99-guixtest1
- v0.21.2
- v0.21.2rc2
- v0.21.2rc1
- v0.21.1
- v0.21.1rc1
- v0.21.0
- v0.21.0rc5
- v0.21.0rc4
- v0.21.0rc3
- v0.21.0rc2
- v0.21.0rc1
- v0.21-final
Showing
2 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters