Skip to content

Commit

Permalink
Merge branch 'main' into feat/decode-full
Browse files Browse the repository at this point in the history
  • Loading branch information
Wollac committed Aug 5, 2024
2 parents 95587be + d3df251 commit 5ddd442
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/rlp/src/decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,11 @@ mod tests {

#[test]
fn rlp_bool() {
let out = vec![0x80];
let out = [0x80];
let val = bool::decode(&mut &out[..]);
assert_eq!(Ok(false), val);

let out = vec![0x01];
let out = [0x01];
let val = bool::decode(&mut &out[..]);
assert_eq!(Ok(true), val);
}
Expand Down

0 comments on commit 5ddd442

Please sign in to comment.