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 get fee methods for production build #202

Merged
merged 1 commit into from
Mar 27, 2019
Merged

Conversation

patitonar
Copy link

Fix the error that appears on the production build of the app when trying to convert fee values:

Uncaught (in promise) Error: Please pass numbers as strings or BigNumber objects to avoid precision errors.
    at t.fromWei (web3-utils.umd.js:541)
    at contract.js:104
    at _ (runtime.js:62)
    at Generator._invoke (runtime.js:288)
    at Generator.t.(/anonymous function) [as next] (https://wetc.app/static/js/2.e710153c.chunk.js:1:649390)
    at r (asyncToGenerator.js:3)
    at s (asyncToGenerator.js:25)

@netlify
Copy link

netlify bot commented Mar 27, 2019

Deploy preview for kind-kilby-95344f processing.

Building with commit 81b327c

https://app.netlify.com/sites/kind-kilby-95344f/deploys/5c9be87d6a4ea1000de0efd8

@akolotov akolotov merged commit f103544 into develop Mar 27, 2019
@ghost ghost removed the review label Mar 27, 2019
@akolotov akolotov deleted the fix-getFee-methods branch March 27, 2019 21:21
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