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 gas price calculations #180

Merged
merged 1 commit into from
Apr 21, 2020
Merged

Fix gas price calculations #180

merged 1 commit into from
Apr 21, 2020

Conversation

fenris85
Copy link
Contributor

Issue posted here

Gas price pipeline has mapping that multiplies this value by 1.25 factor. For some values (e.g. 9240000233) we might get value with a fraction. In further operations it's being converted to a number and to BigNumber again which fails (decimals are not supported in BN). Rounding this value at the beginning resolves this issue.

@fenris85 fenris85 merged commit 1791dec into dev Apr 21, 2020
@fenris85 fenris85 deleted the kw/fix-gas-price-calc branch April 21, 2020 08:32
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