Skip to content

Commit

Permalink
review server
Browse files Browse the repository at this point in the history
  • Loading branch information
schomatis committed Jul 31, 2020
1 parent cb20d36 commit 487b4f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions chain/blocksync/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@ func (server *BlockSyncService) HandleStream(stream inet.Stream) {
}

// Validate and service the request. We return either a protocol
// response or an internal error. The protocol response may signal
// a protocol error itself (e.g., invalid request).
// response or an internal error.
func (server *BlockSyncService) processRequest(
ctx context.Context,
req *Request,
Expand Down Expand Up @@ -198,7 +197,7 @@ func collectChainSegment(
return nil, xerrors.Errorf("gather messages failed: %w", err)
}

// FIXME: Pass the response to the `gatherMessages` and set all this there.
// FIXME: Pass the response to `gatherMessages()` and set all this there.
bst.Messages = &CompactedMessages{}
bst.Messages.Bls = bmsgs
bst.Messages.BlsIncludes = bmincl
Expand Down

0 comments on commit 487b4f2

Please sign in to comment.