-
Notifications
You must be signed in to change notification settings - Fork 0
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/leftovers #122
Fix/leftovers #122
Conversation
Development
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
switch (action) { | ||
case FormAction.DEPOSIT: | ||
return [walletBalance, walletBalanceBN]; | ||
return [wallet, wallet, vault]; |
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.
Three values?
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.
yes, for convenience, it returns current balance based on form state, and other values in bn representation
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.
Let's later switch to object instead of array, it hard to understand
…nto fix/leftovers
No description provided.