From ac74717fdba858d283d65b18ac182c6c416f6feb Mon Sep 17 00:00:00 2001 From: Alekos Filini Date: Thu, 6 Aug 2020 18:11:07 +0200 Subject: [PATCH] [wallet] Refill the address pool whenever necessary --- src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.49.0