Skip to content

Commit

Permalink
fix: potential fix for the (CV3-267)
Browse files Browse the repository at this point in the history
  • Loading branch information
z4o4z committed Aug 21, 2023
1 parent 9ae1f17 commit 1c95eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/src/crypto/murmurhash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { MurmurHash3 } from 'murmurhash-wasm';
export class MurmurHash {
public static hash(key: string, seed = 0): string {
const hash = MurmurHash3.hash32(key, seed);
const value = hash.readUInt32BE();
const value = hash.readUInt32BE(0);
const hex = value.toString(16);

return hex2abc(hex);
Expand Down

0 comments on commit 1c95eaa

Please sign in to comment.