From: merge-script Date: Mon, 5 Jan 2026 11:57:57 +0000 (+0100) Subject: Merge bitcoindevkit/bdk-cli#233: Fix duplicate wallet creation in non-persistent... X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/sparse_chain/index.html?a=commitdiff_plain;h=refs%2Fremotes%2Fgithub%2Fmaster;p=bdk-cli Merge bitcoindevkit/bdk-cli#233: Fix duplicate wallet creation in non-persistent path ba5e349ed31c44cd2083ed6d41313cd9f8d00c53 Fix duplicate wallet creation in non-persistent path (Mshehu5) Pull request description: ### Description The non-persistent wallet path (when sqlite/redb features are disabled) was creating the wallet twice: first as immutable to create the blockchain_client, then again as mutable. This caused the blockchain_client to be initialized with the first wallet instance, but then used with the second wallet instance, creating a mismatch. #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk-cli/blob/master/CONTRIBUTING.md) * [x] I ran `cargo fmt` and `cargo clippy` before committing #### Bugfixes: * [x] I'm linking the issue being fixed by this PR The PR addresses https://github.com/bitcoindevkit/bdk-cli/issues/232 ACKs for top commit: tvpeter: ACK ba5e349ed31c44cd2083ed6d41313cd9f8d00c53 Tree-SHA512: 56b7b61239b7c5ceb125e9a5858eb880c23577bd22de302e73cb5ab433940f316063dacff40ca5751940fa71d053e1e59abe0d7c041376058b7ef4f317d01505 --- fb7f6c60ca4ac1ad80750391435bbafd7346c714