From d0039753af6a7291ca43445acaa82d697bf7c60c Mon Sep 17 00:00:00 2001 From: Credence Date: Sun, 12 Jan 2025 04:40:16 +0100 Subject: [PATCH] improve configuration --- client/sdk/packages/eternum/src/config/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/sdk/packages/eternum/src/config/index.ts b/client/sdk/packages/eternum/src/config/index.ts index 803334ddb..c0bcd88fc 100644 --- a/client/sdk/packages/eternum/src/config/index.ts +++ b/client/sdk/packages/eternum/src/config/index.ts @@ -17,7 +17,7 @@ interface Config { const shortHexAddress = (address: string | undefined | null): string => { if (!address) return 'Not set'; if (!address.startsWith('0x')) { - address = BigInt(address).toString(16); + address = '0x' + BigInt(address).toString(16); } return `${address.slice(0, 6)}...${address.slice(-4)}`; };