only load supported api's
This commit is contained in:
committed by
Bas van Kervel
parent
d2a87f6f72
commit
faab931ce1
@@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user