-
Notifications
You must be signed in to change notification settings - Fork 88
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Location: src/handlers.rs:1000-1008 (in #[cfg(not(any(feature = "sqlite", feature = "redb")))] block)
Problem:
Wallet created twice:
- Line 1002: let wallet = new_wallet(...) (immutable)
- Line 1005: let mut wallet = new_wallet(...) (mutable, shadows first)
blockchain_client is created with the first wallet, then the second wallet is used with that client, causing a mismatch.
Expected behavior
Should only use one wallet this affects builds without sqlite/redb features. May cause incorrect wallet state.
Remove line 1005 and add mut to wallet creation on 1002
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done