Skip to content

Commit 1332660

Browse files
committed
Merge bitcoindevkit/bdk#606: Upgrade to rust-bitcoin 0.28
00164588f2ddab91bb4468ec010dc1bbca277eb5 Stop using deprecated structs (Alekos Filini) 299b700 Upgrade to rust-bitcoin 0.28 and miniscript 7.0 (Alekos Filini) Pull request description: ### Description Upgrade all our dependencies to work with the new release of rust-bitcoin ### Notes to the reviewers The commits in this pr were originally part of #593 ### Checklists #### All Submissions: * [x] I've signed all my commits * [x] I followed the [contribution guidelines](https://github.com/bitcoindevkit/bdk/blob/master/CONTRIBUTING.md) * [x] I ran `cargo fmt` and `cargo clippy` before committing #### New Features: * [x] I've updated `CHANGELOG.md` ACKs for top commit: rajarshimaitra: ACK 00164588f2ddab91bb4468ec010dc1bbca277eb5 Tree-SHA512: eef7e94246e619686b4dfffd6e4cb685630fe2eaf9447f2f0b49ed2643d67f81c50e0d89b66267db4552a05e58f638d885eb7056270648403f716803fce9e275
2 parents 7dbf2f9 + 299b700 commit 1332660

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/blockchain/esplora/api.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//!
33
//! see: <https://github.com/Blockstream/esplora/blob/master/API.md>
44
use crate::BlockTime;
5-
use bitcoin::{OutPoint, Script, Transaction, TxIn, TxOut, Txid};
5+
use bitcoin::{OutPoint, Script, Transaction, TxIn, TxOut, Txid, Witness};
66

77
#[derive(serde::Deserialize, Clone, Debug)]
88
pub struct PrevOut {
@@ -63,7 +63,7 @@ impl Tx {
6363
},
6464
script_sig: vin.scriptsig,
6565
sequence: vin.sequence,
66-
witness: vin.witness,
66+
witness: Witness::from_vec(vin.witness),
6767
})
6868
.collect(),
6969
output: self

0 commit comments

Comments
 (0)