From cd3b67cc94e212b59f24fc355de76099079557b0 Mon Sep 17 00:00:00 2001 From: oren-lava Date: Tue, 23 Jan 2024 16:39:00 +0200 Subject: [PATCH] CNS-760: removed freeze from conflict --- x/conflict/keeper/vote.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/x/conflict/keeper/vote.go b/x/conflict/keeper/vote.go index ac2c35a694..20ea25f6a2 100644 --- a/x/conflict/keeper/vote.go +++ b/x/conflict/keeper/vote.go @@ -190,11 +190,12 @@ func (k Keeper) HandleAndCloseVote(ctx sdk.Context, conflictVote types.ConflictV utils.LavaFormatWarning("slashing failed at vote conflict", err) } - err = k.pairingKeeper.FreezeProvider(ctx, vote.Address, []string{conflictVote.ChainID}, types.UnstakeDescriptionFraudVote) - if err != nil { - utils.LavaFormatWarning("unstaking fraud voter failed", err) - continue - } + // TODO: uncomment this when conflict is more stable + // err = k.pairingKeeper.FreezeProvider(ctx, vote.Address, []string{conflictVote.ChainID}, types.UnstakeDescriptionFraudVote) + // if err != nil { + // utils.LavaFormatWarning("unstaking fraud voter failed", err) + // continue + // } } } }