gateway: address review

This commit is contained in:
Łukasz Magiera
2020-09-15 11:50:08 +02:00
parent 3401cb349b
commit 285fc69f6a
3 changed files with 9 additions and 2 deletions
+1
View File
@@ -10,6 +10,7 @@
/lotus-fountain
/lotus-stats
/lotus-bench
/lotus-gateway
/bench.json
/lotuspond/front/node_modules
/lotuspond/front/build
+6
View File
@@ -92,6 +92,12 @@ lotus-shed: $(BUILD_DEPS)
.PHONY: lotus-shed
BINS+=lotus-shed
lotus-gateway: $(BUILD_DEPS)
rm -f lotus-gateway
go build $(GOFLAGS) -o lotus-gateway ./cmd/lotus-gateway
.PHONY: lotus-gateway
BINS+=lotus-gateway
build: lotus lotus-miner lotus-worker
@[[ $$(type -P "lotus") ]] && echo "Caution: you have \
an existing lotus binary in your PATH. This may cause problems if you don't run 'sudo make install'" || true
+2 -2
View File
@@ -54,11 +54,11 @@ var runCmd = &cli.Command{
&cli.StringFlag{
Name: "listen",
Usage: "host address and port the api server will listen on",
Value: "0.0.0.0:1777",
Value: "0.0.0.0:2346",
},
},
Action: func(cctx *cli.Context) error {
log.Info("Starting lotus wallet")
log.Info("Starting lotus gateway")
ctx := lcli.ReqContext(cctx)
ctx, cancel := context.WithCancel(ctx)