From 73ed13d974e7cc840c77678688b95b4a0ab2b726 Mon Sep 17 00:00:00 2001 From: Ravi Hegde Date: Tue, 14 Oct 2025 16:14:22 +0530 Subject: [PATCH] fix(sdk-coin-canton): removed the non-required export Ticket: COIN-5918 --- modules/sdk-coin-canton/resources/hash/hash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sdk-coin-canton/resources/hash/hash.js b/modules/sdk-coin-canton/resources/hash/hash.js index f50b260c84..0044c46744 100644 --- a/modules/sdk-coin-canton/resources/hash/hash.js +++ b/modules/sdk-coin-canton/resources/hash/hash.js @@ -44,7 +44,7 @@ async function encodeInt64(value) { view.setBigInt64(0, num, false); // true for little-endian return new Uint8Array(buffer); } -export async function encodeString(value = '') { +async function encodeString(value = '') { const utf8Bytes = new TextEncoder().encode(value); return encodeBytes(utf8Bytes); }