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
@@ -57,10 +57,7 @@ func LoadBundle(ctx context.Context, bs blockstore.Blockstore, path string, av a
// utility for blanket loading outside DI
func FetchAndLoadBundles(ctx context.Context, bs blockstore.Blockstore, bar map[actors.Version]build.Bundle) error {
netw := build.NetworkBundle
if netw == "" {
netw = "mainnet"
}
netw := build.GetNetworkBundle()
path := os.Getenv("LOTUS_PATH")
if path == "" {