This commit is contained in:
vyzo 2022-05-17 21:47:01 +03:00
parent ccb2e44e36
commit 31c8460116
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ func FetchAndLoadBundles(ctx context.Context, bs blockstore.Blockstore, bar map[
} }
for av, bd := range bar { for av, bd := range bar {
envvar := fmt.Sprintf("LOGUS_BUILTIN_ACTORS_V%d_BUNDLE", av) envvar := fmt.Sprintf("LOTUS_BUILTIN_ACTORS_V%d_BUNDLE", av)
switch { switch {
case os.Getenv(envvar) != "": case os.Getenv(envvar) != "":
// this is a local bundle, specified by an env var to load from the filesystem // this is a local bundle, specified by an env var to load from the filesystem

View File

@ -67,7 +67,7 @@ func LoadBuiltinActors(lc fx.Lifecycle, mctx helpers.MetricsCtx, r repo.LockedRe
} }
// we haven't recorded it in the datastore, so we need to load it // we haven't recorded it in the datastore, so we need to load it
envvar := fmt.Sprintf("LOGUS_BUILTIN_ACTORS_V%d_BUNDLE", av) envvar := fmt.Sprintf("LOTUS_BUILTIN_ACTORS_V%d_BUNDLE", av)
var mfCid cid.Cid var mfCid cid.Cid
switch { switch {
case os.Getenv(envvar) != "": case os.Getenv(envvar) != "":