From 2afeea7d72ab7735193df6ba5501b42ebcd06b16 Mon Sep 17 00:00:00 2001 From: Riccardo Casatta Date: Tue, 24 Nov 2020 12:16:49 +0100 Subject: [PATCH] use electurm-client updated --- Cargo.toml | 2 +- examples/repl.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 54b4623..2cd3302 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,7 @@ rand = "^0.7" # Optional dependencies sled = { version = "0.34", optional = true } -electrum-client = { version = "0.3.0-beta.1", optional = true } +electrum-client = { version = "0.4.0-beta.1", optional = true } reqwest = { version = "0.10", optional = true, features = ["json"] } futures = { version = "0.3", optional = true } clap = { version = "2.33", optional = true } diff --git a/examples/repl.rs b/examples/repl.rs index 09e75f9..ee0c9a4 100644 --- a/examples/repl.rs +++ b/examples/repl.rs @@ -102,6 +102,8 @@ fn main() { None => AnyBlockchainConfig::Electrum(ElectrumBlockchainConfig { url: matches.value_of("server").unwrap().to_string(), socks5: matches.value_of("proxy").map(ToString::to_string), + retry: 10, + timeout: 10, }), }; let wallet = Arc::new( -- 2.49.0