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 an infinite loop with auto allotment #2202

Merged
merged 2 commits into from
Mar 25, 2024
Merged

Conversation

DaughterOfMars
Copy link

Description of change

There is a problem when auto allotting when there are only accounts available which will not provide enough mana, where the allotment will loop forever. This is because we always re-check when the transaction cannot be built due to missing inputs or outputs. However, we should only re-check when new inputs are selected.

@DaughterOfMars DaughterOfMars self-assigned this Mar 25, 2024
@DaughterOfMars DaughterOfMars modified the milestone: v2.0.0 (Q1 2024) Mar 25, 2024
@thibault-martinez thibault-martinez merged commit 19b0f83 into 2.0 Mar 25, 2024
37 checks passed
@thibault-martinez thibault-martinez deleted the fix/allotment-loop branch March 25, 2024 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants