mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 17:33:47 +00:00
remove debugging lines
This commit is contained in:
parent
3ff2ba9ae9
commit
31a6be44db
2 changed files with 0 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue