From f84e3bfc8c73dbec6b9dd138c97537d643e90deb Mon Sep 17 00:00:00 2001 From: manlikeHB Date: Tue, 13 Aug 2024 08:54:06 +0100 Subject: [PATCH] fix: witness type --- src/validation.cairo | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/validation.cairo b/src/validation.cairo index 4f5f25ec..6b5a37d1 100644 --- a/src/validation.cairo +++ b/src/validation.cairo @@ -405,7 +405,7 @@ mod tests { previous_output: OutPoint { txid: 0_u256, vout: 0xffffffff_u32, txo_index: 0, }, - witness: array![].span() + witness: array![from_base16(@"")].span() }, TxIn { script: @from_base16( @@ -415,7 +415,7 @@ mod tests { previous_output: OutPoint { txid: 0_u256, vout: 0xffffffff_u32, txo_index: 0, }, - witness: array![].span() + witness: array![from_base16(@"")].span() } ] .span(), @@ -457,7 +457,7 @@ mod tests { previous_output: OutPoint { txid: 0_u256, vout: 0x1_u32, txo_index: 0, }, - witness: array![].span() + witness: array![from_base16(@"")].span() } ] .span(), @@ -499,7 +499,7 @@ mod tests { previous_output: OutPoint { txid: 0x2_u256, vout: 0xFFFFFFFF_u32, txo_index: 0, }, - witness: array![].span() + witness: array![from_base16(@"")].span() } ] .span(), @@ -540,7 +540,7 @@ mod tests { // previous_output: OutPoint { // txid: 0_u256, vout: 0xFFFFFFFF_u32, txo_index: 0, // }, -// witness: array![].span() +// witness: array![from_base16(@"")].span() // } // ] // .span(),