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 auto selecting balances #167

Merged
merged 1 commit into from
Jan 13, 2021
Merged

Conversation

bvbfan
Copy link
Contributor

@bvbfan bvbfan commented Jan 13, 2021

A bit refactor to be more clear, i think. What's notable selectedBalancesSum can be higher or equal to targetBalances not only equal. operator< should compare only present tokens.

Signed-off-by: Anthony Fieroni <[email protected]>
@monstrobishi monstrobishi merged commit 6a55d99 into master Jan 13, 2021
@monstrobishi monstrobishi deleted the fix/auto_select_balances branch January 13, 2021 09:14
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