diff --git a/pkg/api/message/v3/service.go b/pkg/api/message/v3/service.go index 897936a8..1afbbdb8 100644 --- a/pkg/api/message/v3/service.go +++ b/pkg/api/message/v3/service.go @@ -50,7 +50,6 @@ func (s *Service) RegisterInstallation(ctx context.Context, req *proto.RegisterI if err != nil { return nil, status.Errorf(codes.InvalidArgument, "invalid identity: %s", err) } - if len(results) != 1 { return nil, status.Errorf(codes.Internal, "unexpected number of results: %d", len(results)) } @@ -176,7 +175,6 @@ func (s *Service) UploadKeyPackages(ctx context.Context, req *proto.UploadKeyPac for i, keyPackage := range req.KeyPackages { keyPackageBytes[i] = keyPackage.KeyPackageTlsSerialized } - validationResults, err := s.validationService.ValidateKeyPackages(ctx, keyPackageBytes) if err != nil { // TODO: Differentiate between validation errors and internal errors diff --git a/pkg/api/server.go b/pkg/api/server.go index 72b1d40f..9648c3a1 100644 --- a/pkg/api/server.go +++ b/pkg/api/server.go @@ -131,7 +131,6 @@ func (s *Server) startGRPC() error { // Enable the MLS server if a store is provided if s.Config.MLSStore != nil && s.Config.MLSValidator != nil && s.Config.EnableMls { - s.Log.Info("Ready to start MLS service") s.messagev3, err = messagev3.NewService(s.Waku, s.Log, s.Store, s.Config.MLSStore, s.Config.MLSValidator) if err != nil { return errors.Wrap(err, "creating mls service")