Rename "keychanins" to keychains
This commit is contained in:
parent
9bc7fe855d
commit
22b8a48842
@ -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()
|
||||
}
|
||||
|
||||
@ -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<_>>();
|
||||
|
@ -73,7 +73,7 @@ fn test_descriptor_checksum() {
|
||||
assert_eq!(checksum.len(), 8);
|
||||
|
||||
let raw_descriptor = wallet
|
||||
.keychanins()
|
||||
.keychains()
|
||||
.iter()
|
||||
.next()
|
||||
.unwrap()
|
||||
|
Loading…
x
Reference in New Issue
Block a user