Skip to content

Commit

Permalink
fip-0100: remove fees when removing faulty sectors from the expiratio…
Browse files Browse the repository at this point in the history
…n queue
  • Loading branch information
Stebalien committed Feb 15, 2025
1 parent 16d8850 commit 44b268f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions actors/miner/src/expiration_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,9 @@ impl<'db, BS: Blockstore> ExpirationQueue<'db, BS> {
}

remaining.remove(&sector_number);

removed.fee_deduction -= &sector.daily_fee;
expiration_set.fee_deduction -= &sector.daily_fee;
}
}

Expand Down

0 comments on commit 44b268f

Please sign in to comment.