diff --git a/Cargo.toml b/Cargo.toml index c7fee36..da91cd7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ authors = ["Parity Technologies "] build = "build.rs" [dependencies] -ethereum-types = "0.2" +ethereum-types = "0.3" tiny-keccak = "1.3" [build-dependencies] diff --git a/src/lib.rs b/src/lib.rs index 0982c11..d003965 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -105,6 +105,6 @@ mod tests { let hash = keccak_buffer(&mut file).unwrap(); // then - assert_eq!(format!("{:?}", hash), "68371d7e884c168ae2022c82bd837d51837718a7f7dfb7aa3f753074a35e1d87"); + assert_eq!(format!("{:x}", hash), "68371d7e884c168ae2022c82bd837d51837718a7f7dfb7aa3f753074a35e1d87"); } }