diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-09 20:50:05 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-09 20:50:05 +0800 |
commit | 20741a96ac6dc824bcc7d67e7c966fa65cbb2faf (patch) | |
tree | bf72d48cca05c1847043b450ff04e92368af8a36 /cmd/utils | |
parent | 738d6e20f2a229aab15b767cb8ca2d2f9c2f9aa8 (diff) | |
download | dexon-20741a96ac6dc824bcc7d67e7c966fa65cbb2faf.tar.gz dexon-20741a96ac6dc824bcc7d67e7c966fa65cbb2faf.tar.zst dexon-20741a96ac6dc824bcc7d67e7c966fa65cbb2faf.zip |
Updated xeth instances to take extra param for ui.Interface
Please be aware that if any of the instances on xeth.frontend are called
the program will crash due to the default, temporarily, frontend
interface.
Diffstat (limited to 'cmd/utils')
-rw-r--r-- | cmd/utils/cmd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/utils/cmd.go b/cmd/utils/cmd.go index 99e60ff9e..a77c6ad4d 100644 --- a/cmd/utils/cmd.go +++ b/cmd/utils/cmd.go @@ -167,7 +167,7 @@ func KeyTasks(keyManager *crypto.KeyManager, KeyRing string, GenAddr bool, Secre func StartRpc(ethereum *eth.Ethereum, RpcListenAddress string, RpcPort int) { var err error - ethereum.RpcServer, err = rpchttp.NewRpcHttpServer(xeth.New(ethereum), RpcListenAddress, RpcPort) + ethereum.RpcServer, err = rpchttp.NewRpcHttpServer(xeth.New(ethereum, nil), RpcListenAddress, RpcPort) if err != nil { clilogger.Errorf("Could not start RPC interface (port %v): %v", RpcPort, err) } else { |