]> Untitled Git - bdk-cli/commitdiff
Merge bitcoindevkit/bdk-cli#233: Fix duplicate wallet creation in non-persistent... master github/master
authormerge-script <withtvpeter@gmail.com>
Mon, 5 Jan 2026 11:57:57 +0000 (12:57 +0100)
committermerge-script <withtvpeter@gmail.com>
Mon, 5 Jan 2026 11:57:57 +0000 (12:57 +0100)
ba5e349ed31c44cd2083ed6d41313cd9f8d00c53 Fix duplicate wallet creation in non-persistent path (Mshehu5)

Pull request description:

  ### Description

  <!-- Describe the purpose of this PR, what's being adding and/or fixed -->
  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


Trivial merge