fix(build): disable phoenix drand upgrade if LOTUS_DISABLE_DRAGON

This commit is contained in:
Rod Vagg 2024-04-09 06:17:31 +10:00
parent 647aa48b11
commit 557c3c01f7

View File

@ -132,6 +132,7 @@ func init() {
if os.Getenv("LOTUS_DISABLE_DRAGON") == "1" {
UpgradeDragonHeight = math.MaxInt64 - 1
delete(DrandSchedule, UpgradePhoenixHeight)
UpgradePhoenixHeight = math.MaxInt64
}