Skip to content

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

Merged
Keith-CY merged 2 commits into
nervosnetwork:developfrom
Keith-CY:fix-deposit-value
Nov 13, 2019
Merged

fix(neuron-ui): add decimal validation on deposit value#1093
Keith-CY merged 2 commits into
nervosnetwork:developfrom
Keith-CY:fix-deposit-value

Conversation

@Keith-CY

Copy link
Copy Markdown
Contributor

image

return
}

if (+value < MIN_DEPOSIT_AMOUNT) {

Copy link
Copy Markdown
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
Copy Markdown
Contributor 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