Remove unnecessary if
This commit is contained in:
@@ -195,7 +195,6 @@ pub fn process_blocktree(
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if slot_complete && !meta.next_slots.is_empty() {
|
|
||||||
// reached end of slot, look for next slots
|
// reached end of slot, look for next slots
|
||||||
|
|
||||||
// TODO merge with locktower, voting
|
// 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?
|
// TODO: remove me once leader_scheduler can hang with out-of-order slots?
|
||||||
pending_slots.sort_by(|a, b| b.0.cmp(&a.0));
|
pending_slots.sort_by(|a, b| b.0.cmp(&a.0));
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
info!(
|
info!(
|
||||||
"processed ledger in {}ms, forks={}...",
|
"processed ledger in {}ms, forks={}...",
|
||||||
|
Reference in New Issue
Block a user