SetRPC/Pipe => core.Set...

This commit is contained in:
Ethan Buchman
2015-03-29 18:06:55 -07:00
parent bddd29ef56
commit 19a50c1229
2 changed files with 8 additions and 8 deletions

View File

@ -151,10 +151,10 @@ func (n *Node) DialSeed() {
}
func (n *Node) StartRpc() {
core.SetPipeBlockStore(n.blockStore)
core.SetPipeConsensusState(n.consensusState)
core.SetPipeMempoolReactor(n.mempoolReactor)
core.SetPipeSwitch(n.sw)
core.SetBlockStore(n.blockStore)
core.SetConsensusState(n.consensusState)
core.SetMempoolReactor(n.mempoolReactor)
core.SetSwitch(n.sw)
rpc.StartHTTPServer()
}