remove debugging lines

This commit is contained in:
Lee Azzarello 2018-04-12 17:34:33 -07:00
parent 3ff2ba9ae9
commit 31a6be44db
2 changed files with 0 additions and 3 deletions

View file

@ -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) {

View file

@ -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)