only load supported api's

This commit is contained in:
Bas van Kervel
2015-06-08 19:51:38 +02:00
committed by Bas van Kervel
parent d2a87f6f72
commit faab931ce1
2 changed files with 81 additions and 9 deletions

View File

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