-
Notifications
You must be signed in to change notification settings - Fork 320
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: shares for amount calculation should use freeFunds #425
Conversation
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.
added a comment for naming
otherwise LGTM
Should a test be added to cacth this behavior? |
Should we add a function that exposes Otherwise, the test will need to be performed on a withdraw |
On withdrawal sounds appropriate |
* fix: shares for amount calculation should use freeFunds * refactor: free funds * fix: if check
* fix: shares for amount calculation should use freeFunds * refactor: free funds * fix: if check
* fix: shares for amount calculation should use freeFunds * refactor: free funds * fix: if check
* fix: shares for amount calculation should use freeFunds * refactor: free funds * fix: if check
* fix: shares for amount calculation should use freeFunds * refactor: free funds * fix: if check
* fix: shares for amount calculation should use freeFunds * refactor: free funds * fix: if check
fixes #390