diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-06-09 01:51:38 +0800 |
---|---|---|
committer | Bas van Kervel <basvankervel@gmail.com> | 2015-06-11 20:01:40 +0800 |
commit | faab931ce1282dea50c8fdf0577c42ee67f69828 (patch) | |
tree | 738673afb158a92842d1a05ef050df23c38b64c9 /cmd/console/main.go | |
parent | d2a87f6f72b1582fd6e220e2a00d7c3f5a6df335 (diff) | |
download | go-tangerine-faab931ce1282dea50c8fdf0577c42ee67f69828.tar go-tangerine-faab931ce1282dea50c8fdf0577c42ee67f69828.tar.gz go-tangerine-faab931ce1282dea50c8fdf0577c42ee67f69828.tar.bz2 go-tangerine-faab931ce1282dea50c8fdf0577c42ee67f69828.tar.lz go-tangerine-faab931ce1282dea50c8fdf0577c42ee67f69828.tar.xz go-tangerine-faab931ce1282dea50c8fdf0577c42ee67f69828.tar.zst go-tangerine-faab931ce1282dea50c8fdf0577c42ee67f69828.zip |
only load supported api's
Diffstat (limited to 'cmd/console/main.go')
-rw-r--r-- | cmd/console/main.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/console/main.go b/cmd/console/main.go index 781f1f8cb..9020a12fe 100644 --- a/cmd/console/main.go +++ b/cmd/console/main.go @@ -25,11 +25,11 @@ import ( "io" "os" - "github.com/mattn/go-colorable" - "github.com/mattn/go-isatty" "github.com/codegangsta/cli" "github.com/ethereum/go-ethereum/cmd/utils" "github.com/ethereum/go-ethereum/logger" + "github.com/mattn/go-colorable" + "github.com/mattn/go-isatty" ) const ( @@ -40,7 +40,7 @@ const ( var ( gitCommit string // set via linker flag nodeNameVersion string - app = utils.NewApp(Version, "the ether console") + app = utils.NewApp(Version, "the ether console") ) func init() { @@ -96,6 +96,6 @@ func run(ctx *cli.Context) { ipcpath := ctx.GlobalString(utils.IPCPathFlag.Name) repl := newJSRE(jspath, ipcpath) - repl.welcome() + repl.welcome(ipcpath) repl.interactive() } |