From b58daf2777aa75d0162c5c90eed602b370a243bf Mon Sep 17 00:00:00 2001 From: Segfault <5221072+Segfaultd@users.noreply.github.com> Date: Thu, 2 Nov 2023 16:42:46 +0100 Subject: [PATCH] Update keeper_epoch.go --- x/millions/keeper/keeper_epoch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/millions/keeper/keeper_epoch.go b/x/millions/keeper/keeper_epoch.go index d35fc942..3c063dff 100644 --- a/x/millions/keeper/keeper_epoch.go +++ b/x/millions/keeper/keeper_epoch.go @@ -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