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
No known key found for this signature in database
GPG Key ID: 9A9AF56F8B3879BA

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 // this is *temporary* mutilation until we have implemented uncapped miner penalties -- it will go
// away in the next fork. // away in the next fork.
func allowNegativeChains(epoch abi.ChainEpoch) bool { func allowNegativeChains(epoch abi.ChainEpoch) bool {
return epoch < build.BreezeGasTampingDuration+5 return epoch < build.UpgradeBreezeHeight+5
} }
const MaxBlocks = 15 const MaxBlocks = 15