Comment on wallet loader

This commit is contained in:
Dave Hrycyszyn
2024-06-24 13:56:43 +01:00
parent 643a0d7f52
commit 9e19500ab0

View File

@@ -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();