From 31a6be44db5df14f1d057ecd84ec3949861961ce Mon Sep 17 00:00:00 2001 From: Lee Azzarello Date: Thu, 12 Apr 2018 17:34:33 -0700 Subject: [PATCH] remove debugging lines --- cmd/geth/consolecmd.go | 2 -- console/console.go | 1 - 2 files changed, 3 deletions(-) diff --git a/cmd/geth/consolecmd.go b/cmd/geth/consolecmd.go index 75eef18faa..d20f1c7dd5 100644 --- a/cmd/geth/consolecmd.go +++ b/cmd/geth/consolecmd.go @@ -28,7 +28,6 @@ import ( "github.com/ethereum/go-ethereum/console" "github.com/ethereum/go-ethereum/node" "github.com/ethereum/go-ethereum/rpc" - "github.com/ethereum/go-ethereum/log" "gopkg.in/urfave/cli.v1" ) @@ -117,7 +116,6 @@ func localConsole(ctx *cli.Context) error { func remoteConsole(ctx *cli.Context) error { // Attach to a remotely running geth instance and start the JavaScript console endpoint := ctx.Args().First() - log.Debug(fmt.Sprintf("remote endpoint is %s", endpoint)) if endpoint == "" { path := node.DefaultDataDir() if ctx.GlobalIsSet(utils.DataDirFlag.Name) { diff --git a/console/console.go b/console/console.go index 30112f6a2d..0284bbd090 100644 --- a/console/console.go +++ b/console/console.go @@ -131,7 +131,6 @@ func (c *Console) init(preload []string) error { return fmt.Errorf("web3 provider: %v", err) } // Load the supported APIs into the JavaScript runtime environment - // This is where the Zeroconf DNS bails apis, err := c.client.SupportedModules() if err != nil { return fmt.Errorf("cannot create api client modules: %v", err)