From 9a8ab3f3ffb02fc059a9ada63c78f06646e9fae3 Mon Sep 17 00:00:00 2001 From: sanket1729 Date: Tue, 11 Jan 2022 14:40:28 +0530 Subject: [PATCH] Change type of final script witness to Witness from Vec> --- src/util/psbt/map/input.rs | 7 ++++--- src/util/psbt/mod.rs | 5 ++--- src/util/psbt/serialize.rs | 3 ++- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/util/psbt/map/input.rs b/src/util/psbt/map/input.rs index 52ef22ab..970e7849 100644 --- a/src/util/psbt/map/input.rs +++ b/src/util/psbt/map/input.rs @@ -18,6 +18,7 @@ use ::{EcdsaSig, io}; use secp256k1; use blockdata::script::Script; +use blockdata::witness::Witness; use blockdata::transaction::{EcdsaSigHashType, Transaction, TxOut}; use consensus::encode; use hashes::{self, hash160, ripemd160, sha256, sha256d}; @@ -105,7 +106,7 @@ pub struct Input { pub final_script_sig: Option