Skip to content

Commit

Permalink
Update fixed events
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadai2010 committed Oct 17, 2024
1 parent 6877cdd commit 175e962
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/nextjs/utils/scaffold-stark/contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -458,10 +458,7 @@ const decodeParamsWithType = (paramType: string, param: any): unknown => {
: `Err(${parseParamWithType(error, result.unwrap(), isRead)})`;
}, param);
} else if (isCairoContractAddress(paramType)) {
return tryParsingParamReturnObject(
getChecksumAddress,
`0x${param.toString(16)}`,
);
return tryParsingParamReturnObject(validateAndParseAddress, param);
} else if (isCairoU256(paramType)) {
return tryParsingParamReturnObject(uint256.uint256ToBN, param);
} else if (isCairoByteArray(paramType)) {
Expand Down

0 comments on commit 175e962

Please sign in to comment.