Update sync loggings (#7914)

This commit is contained in:
terence tsao
2020-11-22 12:31:55 -08:00
committed by GitHub
parent 2a546cc50b
commit 2172cd60a6
29 changed files with 82 additions and 86 deletions

View File

@@ -390,7 +390,7 @@ func TestService_BatchRootRequest(t *testing.T) {
response := []*ethpb.SignedBeaconBlock{b2, b3, b4, b5}
for _, blk := range response {
_, err := stream.Write([]byte{responseCodeSuccess})
assert.NoError(t, err, "Failed to write to stream")
assert.NoError(t, err, "Could not write to stream")
_, err = p2.Encoding().EncodeWithMaxLength(stream, blk)
assert.NoError(t, err, "Could not send response back")
}