fix(chainwatch): Remove --front switch

This commit is contained in:
Mike Greenberg 2020-07-16 11:48:15 -04:00
parent c3cc2eea46
commit 6e7f21de03

View File

@ -2,9 +2,10 @@ package main
import ( import (
"database/sql" "database/sql"
_ "github.com/lib/pq"
"os" "os"
_ "github.com/lib/pq"
lcli "github.com/filecoin-project/lotus/cli" lcli "github.com/filecoin-project/lotus/cli"
logging "github.com/ipfs/go-log/v2" logging "github.com/ipfs/go-log/v2"
"github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
@ -18,10 +19,6 @@ var runCmd = &cli.Command{
Name: "run", Name: "run",
Usage: "Start lotus chainwatch", Usage: "Start lotus chainwatch",
Flags: []cli.Flag{ Flags: []cli.Flag{
&cli.StringFlag{
Name: "front",
Value: "127.0.0.1:8418",
},
&cli.IntFlag{ &cli.IntFlag{
Name: "max-batch", Name: "max-batch",
Value: 1000, Value: 1000,