]> Untitled Git - bdk-cli/commit
Fix duplicate wallet creation in non-persistent path
authorMshehu5 <musheu@gmail.com>
Thu, 1 Jan 2026 21:13:01 +0000 (22:13 +0100)
committerMshehu5 <musheu@gmail.com>
Mon, 5 Jan 2026 11:35:41 +0000 (12:35 +0100)
commitba5e349ed31c44cd2083ed6d41313cd9f8d00c53
treef8c5c8755283b4fe5e88ed60882529c11fcc1782
parent175a6060040e474aa0026ac6ecf8748bedf69100
Fix duplicate wallet creation in non-persistent path

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.
src/handlers.rs