Skip to content

Commit 13e7008

Browse files
committed
doc(wallet): clarify docs for Wallet::load
1 parent 3951110 commit 13e7008

File tree

1 file changed

+5
-4
lines changed
  • crates/wallet/src/wallet

1 file changed

+5
-4
lines changed

crates/wallet/src/wallet/mod.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -443,10 +443,11 @@ impl Wallet {
443443

444444
/// Build [`Wallet`] by loading from persistence or [`ChangeSet`].
445445
///
446-
/// Note that the descriptor secret keys are not persisted to the db. You can either add
447-
/// signers after-the-fact with [`Wallet::add_signer`] or [`Wallet::set_keymap`]. Or you can
448-
/// add keys when building the wallet using [`LoadParams::keymap`] and/or
449-
/// [`LoadParams::descriptor`].
446+
/// Note that the descriptor secret keys are not persisted to the db. You can add
447+
/// signers after-the-fact with [`Wallet::add_signer`] or [`Wallet::set_keymap`]. You
448+
/// can also add keys when building the wallet by using [`LoadParams::keymap`]. Finally
449+
/// you can check the wallet's descriptors are what you expect with [`LoadParams::descriptor`]
450+
/// which will try to populate signers if [`LoadParams::extract_keys`] is enabled.
450451
///
451452
/// # Synopsis
452453
///

0 commit comments

Comments
 (0)