Remove unnecessary if
This commit is contained in:
parent
9adbc1dd60
commit
16e2443f61
|
@ -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={}...",
|
||||
|
|
Loading…
Reference in New Issue