Skip to content

Commit

Permalink
fix string_lit_as_bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Sep 26, 2024
1 parent 4414fd4 commit 97db905
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions basecoin/store/src/avl/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ fn proof() {
.expect("There should be a leaf in the proof");
let mut sha = Sha256::new();
sha.update(&leaf.prefix);
sha.update("B".as_bytes());
sha.update(b"B");
sha.update([1]);
let child_hash = sha.finalize();
// Apply first inner node transformations
Expand All @@ -176,7 +176,7 @@ fn proof() {
&ics_proof,
&spec,
&root.as_bytes().to_vec(),
"B".as_bytes(),
b"B",
&[1]
));
}
Expand Down

0 comments on commit 97db905

Please sign in to comment.