-
Notifications
You must be signed in to change notification settings - Fork 438
Closed
Description
After #1533 we fail to call check_wallet_descriptor in all arms of a match block during load, but this was correct in v1.0.0-beta.1. Also, we apparently never apply the check during new wallet creation.
bdk/crates/wallet/src/wallet/mod.rs
Lines 585 to 595 in 76aec62
| // parameters must match | |
| Some(make_desc) => { | |
| let (exp_desc, keymap) = | |
| make_desc(&secp, network).map_err(LoadError::Descriptor)?; | |
| if desc.descriptor_id() != exp_desc.descriptor_id() { | |
| return Err(LoadError::Mismatch(LoadMismatch::Descriptor { | |
| keychain: KeychainKind::Internal, | |
| loaded: Some(desc), | |
| expected: Some(exp_desc), | |
| })); | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done