Comment on wallet loader
This commit is contained in:
@@ -31,6 +31,7 @@ pub(crate) fn write(mnemonic_path: &PathBuf) -> Result<(), std::io::Error> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Creates a Signet Bitcoin descriptor wallet from a mnemonic
|
||||
pub fn create_wallet(mnemonic_words: String) -> anyhow::Result<Wallet<MemoryDatabase>> {
|
||||
let mnemonic = Mnemonic::parse(mnemonic_words).unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user