Merge pull request #3634 from filecoin-project/fix/proper-epoch-breeze
use defined constant for fork height
This commit is contained in:
commit
eda33f7d11
@ -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