make devnet get the right bundle

This commit is contained in:
Jennifer Wang committed 2022-05-18 11:04:10 -04:00
1 parent e7b4242b1c
commit 125272a526
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -68,6 +68,7 @@ build-devnets: build lotus-seed lotus-shed lotus-wallet lotus-gateway
.PHONY: build-devnets
debug: GOFLAGS+=-tags=debug
debug: GOFLAGS+=-ldflags=-X=github.com/filecoin-project/lotus/build.NetworkBundle=devnet
debug: build-devnets
2k: GOFLAGS+=-tags=2k
+1 -1
View File
@@ -10,7 +10,7 @@ var NetworkBundle string
func GetNetworkBundle() string {
switch NetworkBundle {
case "devnet":
case "devnet", "2k", "debug":
return "devnet"
case "calibnet", "calibrationnet":
return "calibrationnet"