diff --git a/Cargo.toml b/Cargo.toml index 446f6d3e..e6249222 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -72,7 +72,7 @@ env_logger = "0.7" base64 = "^0.11" clap = "2.33" serial_test = "0.4" -bitcoind = "0.9.0" +bitcoind = "0.10.0" [[example]] name = "address_validator" diff --git a/src/blockchain/rpc.rs b/src/blockchain/rpc.rs index e943ba9e..32c2d82e 100644 --- a/src/blockchain/rpc.rs +++ b/src/blockchain/rpc.rs @@ -471,7 +471,7 @@ mod test { let config = RpcConfig { url: bitcoind.rpc_url(), - auth: Auth::CookieFile(bitcoind.cookie_file.clone()), + auth: Auth::CookieFile(bitcoind.config.cookie_file.clone()), network, wallet_name, skip_blocks: None, @@ -523,7 +523,7 @@ mod test { generate(&bitcoind, 5); let config = RpcConfig { url: bitcoind.rpc_url(), - auth: Auth::CookieFile(bitcoind.cookie_file.clone()), + auth: Auth::CookieFile(bitcoind.config.cookie_file.clone()), network: Network::Regtest, wallet_name: "another-name".to_string(), skip_blocks: Some(103),