From 6e7f21de03c69d403a48030e8d470a56c6f09127 Mon Sep 17 00:00:00 2001 From: Mike Greenberg Date: Thu, 16 Jul 2020 11:48:15 -0400 Subject: [PATCH] fix(chainwatch): Remove --front switch --- cmd/lotus-chainwatch/run.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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,