From 1f2f388c25ef74b3400105b96dd60918eeac18b3 Mon Sep 17 00:00:00 2001 From: yaruwangway <69694322+yaruwangway@users.noreply.github.com> Date: Fri, 22 Sep 2023 11:05:48 +0200 Subject: [PATCH] Update x/ccv/provider/keeper/gov_hook.go Co-authored-by: Shawn <44221603+smarshall-spitzbart@users.noreply.github.com> --- x/ccv/provider/keeper/gov_hook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/ccv/provider/keeper/gov_hook.go b/x/ccv/provider/keeper/gov_hook.go index 2ba8d7cdce..8ec4ba0044 100644 --- a/x/ccv/provider/keeper/gov_hook.go +++ b/x/ccv/provider/keeper/gov_hook.go @@ -49,7 +49,7 @@ func (gh GovHooks) AfterProposalSubmission(ctx sdk.Context, proposalID uint64) { if msgLegacyContent.Content.TypeUrl != "/interchain_security.ccv.provider.v1.ConsumerAdditionProposal" { continue } - // if the proposal is not ConsumerAdditionProposal, continue + // if the consumer addition proposal cannot be unmarshaled, continue var consAdditionProp types.ConsumerAdditionProposal if err := proto.Unmarshal(msgLegacyContent.Content.Value, &consAdditionProp); err != nil { continue