From 1c95eaa3605961e79b084fdea102466eafb0592a Mon Sep 17 00:00:00 2001 From: Yauheni Date: Mon, 21 Aug 2023 13:02:36 +0200 Subject: [PATCH] fix: potential fix for the (CV3-267) --- packages/common/src/crypto/murmurhash.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);