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); };