Skip to content

Commit

Permalink
fix(dcellar-web-ui): fix Long.fromInt owerflow issue (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
devinxl authored Jan 11, 2024
1 parent 738d3f9 commit 225a979
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ export const CancelObjectOperation = memo<CancelObjectOperationProps>(

useAsyncEffect(async () => {
const params = {
createAt: Long.fromInt(objectInfo.CreateAt),
payloadSize: Long.fromInt(objectInfo.PayloadSize),
createAt: Long.fromString(String(objectInfo.CreateAt)),
payloadSize: Long.fromString(String(objectInfo.PayloadSize)),
primarySpAddress: primarySp.operatorAddress,
};
const [data, error] = await queryLockFee(params);
Expand Down

0 comments on commit 225a979

Please sign in to comment.