From 364e0f42ca35930b815f66e1c90d7eb870c9c5f8 Mon Sep 17 00:00:00 2001 From: Romashka Date: Sat, 28 Dec 2024 13:39:23 +0200 Subject: [PATCH] typo-Update utils.ts --- platforms/sui/src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/sui/src/utils.ts b/platforms/sui/src/utils.ts index 4811680d3..33bca0ca7 100644 --- a/platforms/sui/src/utils.ts +++ b/platforms/sui/src/utils.ts @@ -31,7 +31,7 @@ export const getOriginalPackageId = async (provider: SuiClient, stateObjectId: s if (error) throw new Error("Error getting object: " + error); if (!data || !isMoveStructStruct(data.content)) - throw new Error(`Cannot get oject for state id ${stateObjectId}: ` + data); + throw new Error(`Cannot get object for state id ${stateObjectId}: ` + data); return getPackageIdFromType(data.content.type); };