use network bundle names consistent with the network name

This commit is contained in:
vyzo
2022-05-16 22:02:37 +03:00
parent 5c0c4d64e2
commit 314b417446
4 changed files with 19 additions and 10 deletions
+1 -4
View File
@@ -25,10 +25,7 @@ func LoadBuiltinActors(lc fx.Lifecycle, mctx helpers.MetricsCtx, r repo.LockedRe
// We can't put it as a dep in inputs causes a stack overflow in DI from circular dependency
// So we pass it through ldflags instead
netw := build.NetworkBundle
if netw == "" {
netw = "mainnet"
}
netw := build.GetNetworkBundle()
for av, bd := range build.BuiltinActorReleases {
// first check to see if we know this release