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

fix(neuron-ui): add decimal validation on deposit value #1093

Merged
merged 2 commits into from
Nov 13, 2019
Merged

fix(neuron-ui): add decimal validation on deposit value #1093

merged 2 commits into from
Nov 13, 2019

Conversation

Keith-CY
Copy link
Collaborator

image

setErrorMessage(t(`messages.codes.${verifyRes.code}`, { fieldName: 'deposit' }))
return
}

if (+value < MIN_DEPOSIT_AMOUNT) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please using BigInt for value and MIN_DEPOSIT_AMOUNT

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated in f96c154

@Keith-CY Keith-CY merged commit 61eab4f into nervosnetwork:develop Nov 13, 2019
@Keith-CY Keith-CY deleted the fix-deposit-value branch November 13, 2019 11:49
@ashchan ashchan mentioned this pull request Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants