Skip to content

Commit

Permalink
fix: witness type
Browse files Browse the repository at this point in the history
  • Loading branch information
manlikeHB committed Aug 13, 2024
1 parent ac238c6 commit f84e3bf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/validation.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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(),
Expand Down Expand Up @@ -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(),
Expand Down Expand Up @@ -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(),
Expand Down Expand Up @@ -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(),
Expand Down

0 comments on commit f84e3bf

Please sign in to comment.