diff --git a/packages/common/src/crypto/murmurhash.ts b/packages/common/src/crypto/murmurhash.ts index 04cd65d02..60b893a8f 100644 --- a/packages/common/src/crypto/murmurhash.ts +++ b/packages/common/src/crypto/murmurhash.ts @@ -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);