Skip to content

Commit

Permalink
Merge pull request #277 from zikriya/develop
Browse files Browse the repository at this point in the history
Error message updated for isValidAmountSwap
  • Loading branch information
zikriya committed May 26, 2024
2 parents d91bbd1 + c8c2684 commit 0753202
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ export async function getDataAfterCutDistributionFee(
pf = common.numberIntoDecimals__(pf, foundaryDecimals);
if (!isValidAmountSwap(decimalAmount, pf)) {
return {
error: `Swap amount should be ${getPlatformFeeInNumber(
error: `Swap amount should be more than ${getPlatformFeeInNumber(
pfInNumber
)} USDC worth or greater`,
)} USDC`,
};
}
totalFee = pf;
Expand Down

0 comments on commit 0753202

Please sign in to comment.