Skip to content

Commit a986689

Browse files
committed
Bump bdk version to 0.24.0
1 parent 377c9b7 commit a986689

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

Cargo.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bdk-reserves"
3-
version = "0.23.0"
3+
version = "0.24.0"
44
authors = ["Richard Ulrich <richard.ulrich@seba.swiss>"]
55
edition = "2018"
66
description = "Proof of reserves for bitcoin dev kit"
@@ -10,12 +10,13 @@ license = "MIT OR Apache-2.0"
1010
repository = "https://github.com/bitcoindevkit/bdk-reserves"
1111

1212
[dependencies]
13-
bdk = { version = "0.23", default-features = false }
13+
bdk = { git = "https://github.com/bitcoindevkit/bdk", tag = "v0.24.0-rc.1", default-features = false }
1414
bitcoinconsensus = "0.19.0-3"
1515
log = "^0.4"
1616

1717
[dev-dependencies]
1818
rstest = "^0.11"
1919
bdk-testutils = "^0.4"
20-
bdk = { version = "0.23", default-features = true }
21-
electrsd = { version = "0.20", features = ["bitcoind_22_0", "electrs_0_9_1"] }
20+
bdk = { git = "https://github.com/bitcoindevkit/bdk", tag = "v0.24.0-rc.1", default-features = true }
21+
electrsd = { version = "0.21", features = ["bitcoind_22_0", "electrs_0_9_1"] }
22+
base64 = "^0.13"

src/reserves.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ use bdk::bitcoin::hash_types::{PubkeyHash, Txid};
2626
use bdk::bitcoin::hashes::{hash160, sha256d, Hash};
2727
use bdk::bitcoin::util::address::Payload;
2828
use bdk::bitcoin::util::psbt::{Input, PartiallySignedTransaction as PSBT};
29-
use bdk::bitcoin::{Address, Network};
29+
use bdk::bitcoin::{Address, Network, Sequence};
3030
use bdk::database::BatchDatabase;
3131
use bdk::wallet::tx_builder::TxOrdering;
3232
use bdk::wallet::Wallet;
@@ -326,15 +326,15 @@ fn challenge_txin(message: &str) -> TxIn {
326326
let message = sha256d::Hash::hash(message.as_bytes());
327327
TxIn {
328328
previous_output: OutPoint::new(Txid::from_hash(message), 0),
329-
sequence: 0xFFFFFFFF,
329+
sequence: Sequence(0xFFFFFFFF),
330330
..Default::default()
331331
}
332332
}
333333

334334
#[cfg(test)]
335335
mod test {
336336
use super::*;
337-
use bdk::bitcoin::base64;
337+
use base64;
338338
use bdk::bitcoin::consensus::encode::deserialize;
339339
use bdk::bitcoin::{Address, Network};
340340
use bdk::wallet::get_funded_wallet;

0 commit comments

Comments
 (0)