Remove unnecessary if

This commit is contained in:
Michael Vines 2019-02-27 10:15:18 -08:00
parent 9adbc1dd60
commit 16e2443f61
1 changed files with 14 additions and 16 deletions

View File

@ -195,7 +195,6 @@ pub fn process_blocktree(
continue;
}
if slot_complete && !meta.next_slots.is_empty() {
// reached end of slot, look for next slots
// TODO merge with locktower, voting
@ -214,7 +213,6 @@ pub fn process_blocktree(
// TODO: remove me once leader_scheduler can hang with out-of-order slots?
pending_slots.sort_by(|a, b| b.0.cmp(&a.0));
}
}
info!(
"processed ledger in {}ms, forks={}...",