Skip to content

Commit

Permalink
Merge pull request #8 from afilini/upgrade/bdk-0.20.0
Browse files Browse the repository at this point in the history
Upgrade bdk to 0.20.0
  • Loading branch information
ulrichard committed Aug 4, 2022
2 parents 1cc04c5 + d0d17a3 commit d4f078e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bdk-reserves"
version = "0.19.0"
version = "0.20.0"
authors = ["Richard Ulrich <richard.ulrich@seba.swiss>"]
edition = "2018"
description = "Proof of reserves for bitcoin dev kit"
Expand All @@ -10,11 +10,11 @@ license = "MIT OR Apache-2.0"
repository = "https://github.com/weareseba/bdk-reserves"

[dependencies]
bdk = { version = "0.19", default-features = false }
bdk = { version = "0.20", default-features = false }
bitcoinconsensus = "0.19.0-3"
log = "^0.4"

[dev-dependencies]
rstest = "^0.11"
bdk-testutils = "^0.4"
bdk = { version = "0.19", default-features = true }
bdk = { version = "0.20", default-features = true }
1 change: 1 addition & 0 deletions src/reserves.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ where
.add_foreign_utxo(challenge_txin.previous_output, challenge_psbt_inp, 42)?
.fee_absolute(0)
.only_witness_utxo()
.current_height(0)
.drain_to(out_script_unspendable)
.ordering(TxOrdering::Untouched);
let (psbt, _details) = builder.finish().unwrap();
Expand Down
1 change: 1 addition & 0 deletions tests/multi_sig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ fn test_proof_multisig(

let signopts = SignOptions {
trust_witness_utxo: true,
remove_partial_sigs: false,
..Default::default()
};
let finalized = wallet1.sign(&mut psbt, signopts.clone())?;
Expand Down
1 change: 1 addition & 0 deletions tests/single_sig.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ fn test_proof(#[case] descriptor: &'static str) -> Result<(), ProofError> {
&mut psbt,
SignOptions {
trust_witness_utxo: true,
remove_partial_sigs: false,
..Default::default()
},
)?;
Expand Down

0 comments on commit d4f078e

Please sign in to comment.