Skip to content

program: ReplenishPool should handle a closed vote account #588

Description

@2501babe

this is a very stupid edge case but if someone closes a vote account it can strand the latest mev rewards in the onramp. replenish should sweep onramp lamports into the pool stake account and deactivate it in this case, allowing orderly withdrawal of all value

this is not an attack vector because WithdrawStake doesnt care about the vote account or about the pool stake activation status, so value in the pool stake can be redeemed normally

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions