use defined constant for fork height

This commit is contained in:
whyrusleeping 2020-09-07 16:18:22 -07:00
parent 8e3dd11f81
commit d1cf445327

View File

@ -18,7 +18,7 @@ import (
)
var ForksAtHeight = map[abi.ChainEpoch]func(context.Context, *StateManager, types.StateTree) error{
42000: UpgradeFaucetBurnRecovery,
build.UpgradeBreezeHeight: UpgradeFaucetBurnRecovery,
}
func (sm *StateManager) handleStateForks(ctx context.Context, st types.StateTree, height abi.ChainEpoch) (err error) {