Add docs for Wallet

This commit is contained in:
Alekos Filini
2020-09-04 16:29:25 +02:00
parent eee75219e0
commit ac06e35c49
4 changed files with 117 additions and 5 deletions

View File

@@ -55,9 +55,9 @@
//! script: &Script
//! ) -> Result<(), AddressValidatorError> {
//! let address = Address::from_script(script, Network::Testnet)
//! .as_ref()
//! .map(Address::to_string)
//! .unwrap_or(script.to_string());
//! .as_ref()
//! .map(Address::to_string)
//! .unwrap_or(script.to_string());
//! println!("New address of type {:?}: {}", script_type, address);
//! println!("HD keypaths: {:#?}", hd_keypaths);
//!