Skip to content

Commit

Permalink
Rename "keychanins" to keychains
Browse files Browse the repository at this point in the history
  • Loading branch information
danielabrozzoni committed Jun 1, 2023
1 parent 9bc7fe8 commit 198f77b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bdk/src/wallet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ impl<D> Wallet<D> {
}

/// Iterator over all keychains in this wallet
pub fn keychanins(&self) -> &BTreeMap<KeychainKind, ExtendedDescriptor> {
pub fn keychains(&self) -> &BTreeMap<KeychainKind, ExtendedDescriptor> {
self.keychain_tracker.txout_index.keychains()
}

Expand Down Expand Up @@ -1508,7 +1508,7 @@ impl<D> Wallet<D> {

if params.add_global_xpubs {
let all_xpubs = self
.keychanins()
.keychains()
.iter()
.flat_map(|(_, desc)| desc.get_extended_keys())
.collect::<Vec<_>>();
Expand Down

0 comments on commit 198f77b

Please sign in to comment.