We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We need to review any numbers that are potentially huge (e.g. transaction amounts, utxo positions) and use BigNumber.js where necessary.
For example: omg-wallet.js line 197 should be:
omg-wallet.js
const selected = correctCurrency.find(utxo => new BigNumber(utxo.amount).gte(new BigNumber(amount)))
And line 161:
if (new BigNumber(utxosToSpend[0].amount).gt(new BigNumber(value))) {
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We need to review any numbers that are potentially huge (e.g. transaction amounts, utxo positions) and use BigNumber.js where necessary.
For example:
omg-wallet.js
line 197 should be:And line 161:
The text was updated successfully, but these errors were encountered: