Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not displaying the right error message for small buy attempts #15

Open
glasgowm148 opened this issue Mar 3, 2021 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@glasgowm148
Copy link
Contributor

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!")
    }
@anon-real anon-real added the enhancement New feature or request label May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants