Closed
Description
export function isValidSwapRequest(tokenIn: string, tokenOut: string, swapAmount: string, chain: Chain): boolean {
if (parseFloat(swapAmount) <= 0) {
I think this might throw if some random string is provided or a number in scientific notation. Should check this here as well
Originally posted by @franzns in #1808 (comment)
Metadata
Metadata
Assignees
Labels
No labels