From d1cf4453270b241227d293fc4a0d00fc6cd1db1c Mon Sep 17 00:00:00 2001 From: whyrusleeping Date: Mon, 7 Sep 2020 16:18:22 -0700 Subject: [PATCH] use defined constant for fork height --- chain/stmgr/forks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/stmgr/forks.go b/chain/stmgr/forks.go index 92dce2761..769cae7c0 100644 --- a/chain/stmgr/forks.go +++ b/chain/stmgr/forks.go @@ -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) {