p2p/subproto/getblock.go
Method blockRequestHandler.handleBlkReq
has 63 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (bh *blockRequestHandler) handleBlkReq(msg p2pcommon.Message, data *types.GetBlockRequest) {
defer bh.release()
remotePeer := bh.peer
requestID := msg.ID()