Skip to content

Commit

Permalink
fix convert
Browse files Browse the repository at this point in the history
  • Loading branch information
nkysg committed Mar 28, 2023
1 parent 538d79d commit 748024b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm/starcoin-transactional-test-harness/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ impl<'a> MoveTestAdapter<'a> for StarcoinTestAdapter<'a> {
_ => is_vec_u8 = false,
}
}
if vals.len() % 2 == 1 {
if vals.len() % 2 == 1 || vals.is_empty() {
is_vec_u8 = false;
}
match is_vec_u8 {
Expand Down

0 comments on commit 748024b

Please sign in to comment.