From: Alekos Filini Date: Fri, 22 Jan 2021 15:12:35 +0000 (-0500) Subject: Upgrade `bdk` to `0.3` X-Git-Tag: v0.2.0~30 X-Git-Url: http://internal-gitweb-vhost/script/%22https:/database/struct.SegwitCodeLengthError.html?a=commitdiff_plain;h=adc9ade193b7b0d8edd828e23c241af982d42143;p=bdk-cli Upgrade `bdk` to `0.3` --- 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, //! }), //! }; //!