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

Allow scrubbed/dissolved minipools with refunds to be closed #487

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

jshufro
Copy link
Contributor

@jshufro jshufro commented Apr 11, 2024

Basically, when a vacant minipool is scrubbed, it probably has a non-0 refund, but a 0 user-deposit.

That means its distributableBalance is actually negative in this code block... but we still want to let it be closed.

close() will wipe out the refund.

@0xfornax 0xfornax merged commit c62e98b into rocket-pool:master Apr 11, 2024
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