Skip to content

Commit

Permalink
Update keeper_epoch.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Segfaultd committed Nov 2, 2023
1 parent 8cab994 commit b58daf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/millions/keeper/keeper_epoch.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (k Keeper) AddEpochUnbonding(ctx sdk.Context, withdrawal types.Withdrawal,

// Prevent adding the same withdrawalID several times per epoch
if epochPoolUnbonding.WithdrawalIDExists(withdrawal.WithdrawalId) {
return errorsmod.Wrapf(types.ErrEntityOverride, "ID %d", withdrawal.GetWithdrawalId())
return nil
}

// Check the Hard cap limit on withdrawals per epoch unbonding
Expand Down

0 comments on commit b58daf2

Please sign in to comment.