use defined constant for fork height
This commit is contained in:
parent
8e3dd11f81
commit
d1cf445327
@ -18,7 +18,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var ForksAtHeight = map[abi.ChainEpoch]func(context.Context, *StateManager, types.StateTree) error{
|
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) {
|
func (sm *StateManager) handleStateForks(ctx context.Context, st types.StateTree, height abi.ChainEpoch) (err error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user