File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " bdk-reserves"
3- version = " 0.23 .0"
3+ version = " 0.24 .0"
44authors = [" Richard Ulrich <richard.ulrich@seba.swiss>" ]
55edition = " 2018"
66description = " Proof of reserves for bitcoin dev kit"
@@ -10,12 +10,13 @@ license = "MIT OR Apache-2.0"
1010repository = " 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 }
1414bitcoinconsensus = " 0.19.0-3"
1515log = " ^0.4"
1616
1717[dev-dependencies ]
1818rstest = " ^0.11"
1919bdk-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"
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ use bdk::bitcoin::hash_types::{PubkeyHash, Txid};
2626use bdk:: bitcoin:: hashes:: { hash160, sha256d, Hash } ;
2727use bdk:: bitcoin:: util:: address:: Payload ;
2828use bdk:: bitcoin:: util:: psbt:: { Input , PartiallySignedTransaction as PSBT } ;
29- use bdk:: bitcoin:: { Address , Network } ;
29+ use bdk:: bitcoin:: { Address , Network , Sequence } ;
3030use bdk:: database:: BatchDatabase ;
3131use bdk:: wallet:: tx_builder:: TxOrdering ;
3232use 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) ]
335335mod 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;
You can’t perform that action at this time.
0 commit comments