Skip to content

Commit e195e06

Browse files
author
Kristoffer Ström
committed
Fix mistake in key generation
1 parent 033005b commit e195e06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/eth-sparse-mpt/src/model_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ impl FixedKey {
3131
}
3232

3333
fn from_string(s: &str) -> Self {
34-
Self(keccak256("a"))
34+
Self(keccak256(s))
3535
}
3636

3737
fn from_bytes(bytes: [u8; 32]) -> Self {

0 commit comments

Comments
 (0)