Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Remove unneeded check
Browse files Browse the repository at this point in the history
  • Loading branch information
carllin committed May 14, 2020
1 parent dfab3a4 commit 6c5ab97
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions core/src/window_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,6 @@ where
);
None
} else {
if packet.meta.size != PACKET_DATA_SIZE
&& packet.meta.size != NONCE_SHRED_PAYLOAD_SIZE
{
return None;
}

// shred fetch stage should be sending packets
// with sufficiently large buffers. Needed to ensure
// call to `new_from_serialized_shred` is safe.
Expand Down

0 comments on commit 6c5ab97

Please sign in to comment.