diff --git a/Cargo.toml b/Cargo.toml index b78fbf5..a4db017 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ documentation = "https://docs.rs/bitcoind/" edition = "2018" [dependencies] -bitcoincore-rpc = "0.15.0" +bitcoincore-rpc = "0.16" tempfile = "3.1" log = "0.4" which = "4.2.5" @@ -18,7 +18,7 @@ which = "4.2.5" env_logger = "0.8" [build-dependencies] -bitcoin_hashes = "0.10" +bitcoin_hashes = "0.11" ureq = "2.1" flate2 = "1.0" tar = "0.4" diff --git a/build.rs b/build.rs index 69d1aa9..1284307 100644 --- a/build.rs +++ b/build.rs @@ -147,7 +147,7 @@ fn main() { for d in outpath.iter() { bitcoin_exe_home.push(d); } - std::fs::create_dir_all(&bitcoin_exe_home.parent().unwrap()).unwrap(); + std::fs::create_dir_all(bitcoin_exe_home.parent().unwrap()).unwrap(); println!("{:?}", bitcoin_exe_home); let mut outfile = std::fs::File::create(&bitcoin_exe_home).unwrap(); io::copy(&mut file, &mut outfile).unwrap(); diff --git a/src/lib.rs b/src/lib.rs index f3ac865..a22c067 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -642,7 +642,7 @@ mod test { // bob wallet may not be immediately updated for _ in 0..30 { - if bob.get_balances().unwrap().mine.untrusted_pending.as_sat() > 0 { + if bob.get_balances().unwrap().mine.untrusted_pending.to_sat() > 0 { break; } std::thread::sleep(std::time::Duration::from_millis(100));