Skip to content

Commit

Permalink
more simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
countvonzero committed Aug 5, 2023
1 parent 1c90ddd commit 64391d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/grpcserver/mesh_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ func (s MeshService) EpochStream(req *pb.EpochStreamRequest, stream pb.MeshServi
default:
malicious, err := s.cdb.IsMalicious(header.NodeID)
if err != nil {
return status.Error(codes.Internal, err.Error())
return err

Check warning on line 591 in api/grpcserver/mesh_service.go

View check run for this annotation

Codecov / codecov/patch

api/grpcserver/mesh_service.go#L591

Added line #L591 was not covered by tests
}
if malicious {
return nil
Expand Down

0 comments on commit 64391d5

Please sign in to comment.