File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ impl<D> Wallet<D> {
248248 }
249249
250250 /// Iterator over all keychains in this wallet
251- pub fn keychanins ( & self ) -> & BTreeMap < KeychainKind , ExtendedDescriptor > {
251+ pub fn keychains ( & self ) -> & BTreeMap < KeychainKind , ExtendedDescriptor > {
252252 self . keychain_tracker . txout_index . keychains ( )
253253 }
254254
@@ -1508,7 +1508,7 @@ impl<D> Wallet<D> {
15081508
15091509 if params. add_global_xpubs {
15101510 let all_xpubs = self
1511- . keychanins ( )
1511+ . keychains ( )
15121512 . iter ( )
15131513 . flat_map ( |( _, desc) | desc. get_extended_keys ( ) )
15141514 . collect :: < Vec < _ > > ( ) ;
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ fn test_descriptor_checksum() {
7373 assert_eq ! ( checksum. len( ) , 8 ) ;
7474
7575 let raw_descriptor = wallet
76- . keychanins ( )
76+ . keychains ( )
7777 . iter ( )
7878 . next ( )
7979 . unwrap ( )
You can’t perform that action at this time.
0 commit comments