cleanup rpc/handlers

This commit is contained in:
Jae Kwon
2015-03-30 15:55:05 -07:00
parent 1a4aab4c35
commit e257307b01
4 changed files with 148 additions and 174 deletions

View File

@ -150,7 +150,7 @@ func (n *Node) DialSeed() {
}
}
func (n *Node) StartRpc() {
func (n *Node) StartRPC() {
core.SetBlockStore(n.blockStore)
core.SetConsensusState(n.consensusState)
core.SetMempoolReactor(n.mempoolReactor)
@ -185,7 +185,7 @@ func Daemon() {
// Run the RPC server.
if config.App().GetString("RPC.HTTP.ListenAddr") != "" {
n.StartRpc()
n.StartRPC()
}
// Sleep forever and then...