Skip to content

Commit 2e14afe

Browse files
author
Zoran Cvetkov
committed
truncate the old style hash
1 parent b3543bb commit 2e14afe

File tree

1 file changed

+1
-1
lines changed
  • graph/src/components/subgraph/proof_of_indexing

1 file changed

+1
-1
lines changed

graph/src/components/subgraph/proof_of_indexing/online.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ impl BlockEventStream {
132132
}
133133
Hashers::Fast(mut digest) => {
134134
if let Some(prev) = prev {
135-
let prev = prev
135+
let prev = prev[..32]
136136
.try_into()
137137
.expect("Expected valid fast stable hash representation");
138138
let prev = FastStableHasher::from_bytes(prev);

0 commit comments

Comments
 (0)