Skip to content

Commit

Permalink
Upgrading the dependency bitcoincore-rpc to v0.16 to match the nested…
Browse files Browse the repository at this point in the history
… bitcoin crate to the one used in bdk v0.25
  • Loading branch information
ulrichard committed Dec 28, 2022
1 parent 5c83cc7 commit 8b0fc8e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 8b0fc8e

Please sign in to comment.