fix: comment spelling
This commit is contained in:
parent
08207912a5
commit
91da70fb7d
@ -212,8 +212,8 @@ func (sm *StateManager) handleStateForks(ctx context.Context, root cid.Cid, heig
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Returns true executing tipsets between the specified heights would trigger an expensive
|
// Returns true executing tipsets between the specified heights would trigger an expensive
|
||||||
// migration. NOTE: migrations occuring _at_ the target height are not included, as they're executed
|
// migration. NOTE: migrations occurring _at_ the target height are not included, as they're
|
||||||
// _after_ the target height.
|
// executed _after_ the target height.
|
||||||
func (sm *StateManager) hasExpensiveForkBetween(parent, height abi.ChainEpoch) bool {
|
func (sm *StateManager) hasExpensiveForkBetween(parent, height abi.ChainEpoch) bool {
|
||||||
for h := parent; h < height; h++ {
|
for h := parent; h < height; h++ {
|
||||||
if _, ok := sm.expensiveUpgrades[h]; ok {
|
if _, ok := sm.expensiveUpgrades[h]; ok {
|
||||||
|
Loading…
Reference in New Issue
Block a user