From b20186bc528c5de0e6b612b141473305d99e5738 Mon Sep 17 00:00:00 2001 From: Julien Robert Date: Tue, 19 Dec 2023 21:51:17 +0100 Subject: [PATCH] fixes --- x/gov/keeper/proposal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/gov/keeper/proposal.go b/x/gov/keeper/proposal.go index f9f759dae2783..5396701ae675c 100644 --- a/x/gov/keeper/proposal.go +++ b/x/gov/keeper/proposal.go @@ -35,7 +35,7 @@ func (keeper Keeper) SubmitProposal(ctx context.Context, messages []sdk.Msg, met } } - if !found { + if len(params.OptimisticAuthorizedAddresses) > 0 && !found { return v1.Proposal{}, errorsmod.Wrap(types.ErrInvalidProposer, "proposer is not authorized to submit optimistic proposal") } }