remove viper from rpc except test

This commit is contained in:
Ethan Buchman
2017-04-29 00:07:50 -04:00
parent 1fcc9dc654
commit f0e7f0acf8
6 changed files with 9 additions and 92 deletions

View File

@ -293,7 +293,6 @@ func (n *Node) AddListener(l p2p.Listener) {
// ConfigureRPC sets all variables in rpccore so they will serve
// rpc calls from this node
func (n *Node) ConfigureRPC() {
rpccore.SetConfig(n.config)
rpccore.SetEventSwitch(n.evsw)
rpccore.SetBlockStore(n.blockStore)
rpccore.SetConsensusState(n.consensusState)