Shred fetch comment and debug message tweak (#8980)

automerge
This commit is contained in:
sakridge 2020-03-20 11:00:48 -07:00 committed by GitHub
parent 8b0a7f6838
commit 909321928c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -60,9 +60,8 @@ impl ShredFetchStage {
{
p.meta.discard = true;
if let Some((slot, index)) = Self::get_slot_index(p, index_overrun) {
info!("slot {} index {}", slot, index);
// Seems reasonable to limit shreds to 2 epochs away
if slot > last_root && slot < (last_slot + 2 * slots_per_epoch) {
info!("slot > {}", last_root);
// Shred filter
let slot_received = shreds_received
.entry(slot)