fix(build): disable phoenix drand upgrade if LOTUS_DISABLE_DRAGON

This commit is contained in:
Rod Vagg committed 2024-04-09 07:45:45 +10:00
1 parent 647aa48b11
commit 557c3c01f7
1 file changed
+1
+1
View File
@@ -132,6 +132,7 @@ func init() {
if os.Getenv("LOTUS_DISABLE_DRAGON") == "1" { if os.Getenv("LOTUS_DISABLE_DRAGON") == "1" {
UpgradeDragonHeight = math.MaxInt64 - 1 UpgradeDragonHeight = math.MaxInt64 - 1
delete(DrandSchedule, UpgradePhoenixHeight)
UpgradePhoenixHeight = math.MaxInt64 UpgradePhoenixHeight = math.MaxInt64
} }