-
Notifications
You must be signed in to change notification settings - Fork 4
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
Allow users to deposit raw ETH instead of just WETH #848
Conversation
✅ Deploy Preview for aloe-prime canceled.
|
✅ Deploy Preview for aloe-blend-staging canceled.
|
✅ Deploy Preview for aloe-earn ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments, please make sure to check prime works too
if (tokenBalanceResult != null) { | ||
setInputValue(userBalance.toString(GNFormat.DECIMAL)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While I see why it was done this way, I wish we could avoid having seemingly unrelated variables used in the if statement (despite them being quite related in actuality).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm good point. This was actually just a result of refactoring; I didn't write the code, but now that you point it out it is kinda bad/confusing. Any suggestions to fix?
No description provided.