From adc9ade193b7b0d8edd828e23c241af982d42143 Mon Sep 17 00:00:00 2001 From: Alekos Filini Date: Fri, 22 Jan 2021 10:12:35 -0500 Subject: [PATCH] Upgrade `bdk` to `0.3` --- Cargo.toml | 4 ++-- src/bdk_cli.rs | 2 +- src/lib.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 72bb194..eafdab8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ readme = "README.md" license = "MIT" [dependencies] -bdk = "^0.2" +bdk = "^0.3" bdk-macros = "^0.2" structopt = "^0.3" serde_json = { version = "^1.0" } @@ -35,4 +35,4 @@ esplora = ["bdk/esplora"] [[bin]] name = "bdk-cli" path = "src/bdk_cli.rs" -required-features = ["repl"] \ No newline at end of file +required-features = ["repl"] diff --git a/src/bdk_cli.rs b/src/bdk_cli.rs index c7b1c16..8dfc632 100644 --- a/src/bdk_cli.rs +++ b/src/bdk_cli.rs @@ -106,7 +106,7 @@ fn main() { url: cli_opt.electrum, socks5: cli_opt.proxy, retry: 10, - timeout: 10, + timeout: None, })); let wallet = Wallet::new( diff --git a/src/lib.rs b/src/lib.rs index 96e98d1..4432aa4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -71,7 +71,7 @@ //! url: cli_opt.electrum, //! socks5: cli_opt.proxy, //! retry: 3, -//! timeout: 5, +//! timeout: None, //! }), //! }; //! -- 2.49.0