sigma-usd icon indicating copy to clipboard operation
sigma-usd copied to clipboard

Not displaying the right error message for small buy attempts

Open glasgowm148 opened this issue 3 years ago • 0 comments

SigRSV 1-5 = request.undefined SigRSV 5-13 = request. Too little value!

export const minErgVal = 33000
for (let i = 0; i < tx.requests.length; i++) {
        if (tx.requests[i].value < minErgVal) throw new Error("The amount you're trying to mint is too small!")
    }

glasgowm148 avatar Mar 03 '21 08:03 glasgowm148