From: Alekos Filini Date: Thu, 6 Aug 2020 16:11:07 +0000 (+0200) Subject: [wallet] Refill the address pool whenever necessary X-Git-Tag: 0.1.0-beta.1~17 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/struct.CommandStringError.html?a=commitdiff_plain;h=ac74717fdba858d283d65b18ac182c6c416f6feb;p=bdk-cli [wallet] Refill the address pool whenever necessary --- diff --git a/src/cli.rs b/src/cli.rs index 735c0af..d4e4578 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -291,7 +291,7 @@ where if let Some(_sub_matches) = matches.subcommand_matches("get_new_address") { Ok(Some(format!("{}", wallet.get_new_address()?))) } else if let Some(_sub_matches) = matches.subcommand_matches("sync") { - maybe_await!(wallet.sync(None, None))?; + maybe_await!(wallet.sync(None))?; Ok(None) } else if let Some(_sub_matches) = matches.subcommand_matches("list_unspent") { let mut res = String::new();