make devnet get the right bundle
This commit is contained in:
parent
e7b4242b1c
commit
125272a526
1
Makefile
1
Makefile
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user