andromedaprotocol/andromeda-core

[Validator Staking] Handle claim when WithdrawAddrEnabled is set as false

Closed this issue · 0 comments

Description

sherlock-audit/2024-05-andromeda-ado-judging#43

Implementation

Update execute_claim function to claim rewards when SetWithdrawAddress is set as disabled

Dependencies

None

Acceptance Criteria

  • Stakers can claim rewards when WithdrawAddrEnabled is set as false
  • Unit test
  • Integration test