Upgrade to correct fork treshold

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
Jakub Sztandera
2020-09-07 23:07:33 +02:00
parent 704db225d1
commit 46ee2eeded
+1 -1
View File
@@ -22,7 +22,7 @@ var bigBlockGasLimit = big.NewInt(build.BlockGasLimit)
// this is *temporary* mutilation until we have implemented uncapped miner penalties -- it will go
// away in the next fork.
func allowNegativeChains(epoch abi.ChainEpoch) bool {
return epoch < build.BreezeGasTampingDuration+5
return epoch < build.UpgradeBreezeHeight+5
}
const MaxBlocks = 15