Renamed Ethereum RPC package

This commit is contained in:
Maran
2014-05-05 13:49:59 +02:00
parent 8adad0654a
commit c496aad20b
2 changed files with 17 additions and 10 deletions

View File

@@ -34,7 +34,7 @@ func (s *JsonRpcServer) Stop() {
func (s *JsonRpcServer) Start() {
ethutil.Config.Log.Infoln("[JSON] Starting JSON-RPC server")
go s.exitHandler()
rpc.Register(&MainPackage{ethp: s.ethp})
rpc.Register(&EthereumApi{ethp: s.ethp})
rpc.HandleHTTP()
for {