Skip to content

Commit

Permalink
fix pr comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth More authored and Siddharth More committed Apr 3, 2024
1 parent 0c89a8e commit 1aa7f7b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,6 @@ func (n *Node) ProcessBatch(ctx context.Context, header *core.BatchHeader, blobs
return nil, errors.New("ProcessBatch: number of blobs must be greater than zero")
}

if len(rawBlobs) == 0 {
return nil, errors.New("ProcessBatch: number of raw blobs must be greater than zero")
}

if len(blobs) != len(rawBlobs) {
return nil, errors.New("number of parsed blobs must be the same as number of blobs from protobuf request")
}
Expand Down

0 comments on commit 1aa7f7b

Please sign in to comment.