diff options
Diffstat (limited to 'worker/sync_worker.go')
-rwxr-xr-x | worker/sync_worker.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/worker/sync_worker.go b/worker/sync_worker.go index deea8cb1..12937eac 100755 --- a/worker/sync_worker.go +++ b/worker/sync_worker.go @@ -190,11 +190,7 @@ func (tw *SyncWorkerImpl) execPayload(p *payload.Payload) (*payload.Payload, err return nil, errors.E(op, errors.Network, err) } if frameR == nil { - return nil, errors.E(op, errors.Network, errors.Str("nil fr received")) - } - - if !frameR.VerifyCRC(frameR.Header()) { - return nil, errors.E(op, errors.Network, errors.Str("failed to verify CRC")) + return nil, errors.E(op, errors.Network, errors.Str("nil frame received")) } flags := frameR.ReadFlags() |