bring back unsafe_set_config

This commit is contained in:
Ethan Buchman
2016-05-11 23:33:09 -04:00
committed by Jae Kwon
parent c126ccd744
commit 6365c5efb5
5 changed files with 103 additions and 0 deletions

View File

@ -175,6 +175,8 @@ func (n *Node) AddListener(l p2p.Listener) {
}
func (n *Node) StartRPC() ([]net.Listener, error) {
rpccore.SetConfig(n.config)
rpccore.SetBlockStore(n.blockStore)
rpccore.SetConsensusState(n.consensusState)
rpccore.SetConsensusReactor(n.consensusReactor)