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