aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-05-05 21:15:04 +0800
committerMaran <maran.hidskes@gmail.com>2014-05-05 21:15:04 +0800
commitc9852c4929c39ab47eab7b70f9304432f2c8225e (patch)
treee256b68d93bfa8ddc5380ad396cb6775372533e0
parentcb9ca992debfcef83f79b2c606955e6688880694 (diff)
downloaddexon-c9852c4929c39ab47eab7b70f9304432f2c8225e.tar.gz
dexon-c9852c4929c39ab47eab7b70f9304432f2c8225e.tar.zst
dexon-c9852c4929c39ab47eab7b70f9304432f2c8225e.zip
Renamed etherpc to ethrpc
All work and no play makes Maran a dull boy
-rw-r--r--ethereal/ethereum.go4
-rw-r--r--ethereum/ethereum.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/ethereal/ethereum.go b/ethereal/ethereum.go
index 782001195..f3240adec 100644
--- a/ethereal/ethereum.go
+++ b/ethereal/ethereum.go
@@ -4,8 +4,8 @@ import (
"fmt"
"github.com/ethereum/eth-go"
"github.com/ethereum/eth-go/ethchain"
- "github.com/ethereum/eth-go/etherpc"
"github.com/ethereum/eth-go/ethpub"
+ "github.com/ethereum/eth-go/ethrpc"
"github.com/ethereum/eth-go/ethutil"
"github.com/ethereum/go-ethereum/ethereal/ui"
"github.com/ethereum/go-ethereum/utils"
@@ -101,7 +101,7 @@ func main() {
}
if StartRpc {
- ethereum.RpcServer = etherpc.NewJsonRpcServer(ethpub.NewPEthereum(ethereum.StateManager(), ethereum.BlockChain(), ethereum.TxPool()))
+ ethereum.RpcServer = ethrpc.NewJsonRpcServer(ethpub.NewPEthereum(ethereum.StateManager(), ethereum.BlockChain(), ethereum.TxPool()))
go ethereum.RpcServer.Start()
}
diff --git a/ethereum/ethereum.go b/ethereum/ethereum.go
index 1315c0120..8719f3e87 100644
--- a/ethereum/ethereum.go
+++ b/ethereum/ethereum.go
@@ -4,9 +4,9 @@ import (
"fmt"
"github.com/ethereum/eth-go"
"github.com/ethereum/eth-go/ethchain"
- "github.com/ethereum/eth-go/etherpc"
"github.com/ethereum/eth-go/ethminer"
"github.com/ethereum/eth-go/ethpub"
+ "github.com/ethereum/eth-go/ethrpc"
"github.com/ethereum/eth-go/ethutil"
"github.com/ethereum/go-ethereum/utils"
"log"
@@ -134,7 +134,7 @@ func main() {
go console.Start()
}
if StartRpc {
- ethereum.RpcServer = etherpc.NewJsonRpcServer(ethpub.NewPEthereum(ethereum.StateManager(), ethereum.BlockChain(), ethereum.TxPool()))
+ ethereum.RpcServer = ethrpc.NewJsonRpcServer(ethpub.NewPEthereum(ethereum.StateManager(), ethereum.BlockChain(), ethereum.TxPool()))
go ethereum.RpcServer.Start()
}