diff --git a/x/opchild/keeper/msg_server.go b/x/opchild/keeper/msg_server.go index 61afbabf..04a3ecbe 100644 --- a/x/opchild/keeper/msg_server.go +++ b/x/opchild/keeper/msg_server.go @@ -318,7 +318,7 @@ func (ms MsgServer) SetBridgeInfo(ctx context.Context, req *types.MsgSetBridgeIn return nil, types.ErrInvalidBridgeInfo.Wrapf("expected l1 chain id %s, got %s", info.L1ChainId, req.BridgeInfo.L1ChainId) } - if info.L1ClientId != req.BridgeInfo.L1ClientId { + if info.L1ClientId != "" && info.L1ClientId != req.BridgeInfo.L1ClientId { return nil, types.ErrInvalidBridgeInfo.Wrapf("expected l1 client id %s, got %s", info.L1ClientId, req.BridgeInfo.L1ClientId) } }