From: LLFourn Date: Sun, 21 Jul 2024 16:57:00 +0000 (+1000) Subject: chore(wallet): Fix descriptor mismatch error keychain X-Git-Tag: v1.0.0-beta.1~2^2~1 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/struct.EncoderStringWriter.html?a=commitdiff_plain;h=8875c92ec114ba9ca0ea8402d65d7a236566b618;p=bdk chore(wallet): Fix descriptor mismatch error keychain --- diff --git a/crates/wallet/src/wallet/mod.rs b/crates/wallet/src/wallet/mod.rs index 514cec2e..21714fad 100644 --- a/crates/wallet/src/wallet/mod.rs +++ b/crates/wallet/src/wallet/mod.rs @@ -499,7 +499,7 @@ impl Wallet { if change_descriptor.descriptor_id() != exp_change_descriptor.descriptor_id() { return Err(LoadError::Mismatch(LoadMismatch::Descriptor { - keychain: KeychainKind::External, + keychain: KeychainKind::Internal, loaded: change_descriptor, expected: exp_change_descriptor, }));