mirror of
https://github.com/filecoin-project/lotus.git
synced 2025-08-14 01:31:09 +08:00
chore: remove deprecated code
This commit is contained in:
@ -233,13 +233,6 @@ func (b *CommitBatcher) maybeStartBatch(notif bool) ([]sealiface.CommitBatchRes,
|
||||
|
||||
individual := (total < cfg.MinCommitBatch) || (total < miner.MinAggregatedSectors) || blackedOut() || !cfg.AggregateCommits
|
||||
|
||||
// TODO: remove after nv25 (FIP 0100)
|
||||
if !individual && !cfg.AggregateAboveBaseFee.Equals(big.Zero()) && nv < network.Version25 {
|
||||
if ts.MinTicketBlock().ParentBaseFee.LessThan(cfg.AggregateAboveBaseFee) {
|
||||
individual = true
|
||||
}
|
||||
}
|
||||
|
||||
// After nv21, we have a new ProveCommitSectors2 method, which supports
|
||||
// batching without aggregation, but it doesn't support onboarding
|
||||
// sectors which were precommitted with DealIDs in the precommit message.
|
||||
|
Reference in New Issue
Block a user