Skip to content

Commit 76fb491

Browse files
committed
minor optimization
1 parent d276241 commit 76fb491

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: actors/miner/src/expiration_queue.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ impl<'db, BS: Blockstore> ExpirationQueue<'db, BS> {
807807

808808
if !es.on_time_sectors.get(sector.sector_number) {
809809
// continue scan for this sector
810-
return Ok(true);
810+
return Ok(epoch < end_epoch);
811811
}
812812

813813
let group = group_expiration_set(

0 commit comments

Comments
 (0)