diff --git a/crates/bdk/src/wallet/mod.rs b/crates/bdk/src/wallet/mod.rs index 5998e29624..d66d7a8079 100644 --- a/crates/bdk/src/wallet/mod.rs +++ b/crates/bdk/src/wallet/mod.rs @@ -934,6 +934,7 @@ impl Wallet { &self, keychain: KeychainKind, ) -> impl Iterator + Clone { + let keychain = self.map_keychain(keychain); self.indexed_graph.index.unbounded_spk_iter(&keychain) }