Skip to content

Commit 299b700

Browse files
committed
Upgrade to rust-bitcoin 0.28 and miniscript 7.0
1 parent 7dbf2f9 commit 299b700

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/blockchain/esplora/api.rs

Lines changed: 2 additions & 2 deletions
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)