From d223a8f09c34bf6353136320b560e589ed52fc24 Mon Sep 17 00:00:00 2001 From: Tanmay Date: Thu, 8 Aug 2024 22:33:34 -0400 Subject: [PATCH] move to unreleased --- x/crosschain/keeper/msg_server_add_outbound_tracker.go | 1 + 1 file changed, 1 insertion(+) diff --git a/x/crosschain/keeper/msg_server_add_outbound_tracker.go b/x/crosschain/keeper/msg_server_add_outbound_tracker.go index a7df13ebce..b82fba7f79 100644 --- a/x/crosschain/keeper/msg_server_add_outbound_tracker.go +++ b/x/crosschain/keeper/msg_server_add_outbound_tracker.go @@ -55,6 +55,7 @@ func (k msgServer) AddOutboundTracker( k.RemoveOutboundTrackerFromStore(ctx, msg.ChainId, msg.Nonce) return &types.MsgAddOutboundTrackerResponse{IsRemoved: true}, nil } + // check if the msg signer is from the emergency group policy address.It is okay to ignore the error as the sender can also be an observer isAuthorizedPolicy := false if k.GetAuthorityKeeper().CheckAuthorization(ctx, msg) == nil {