mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-26 03:01:42 +00:00
rpc: give each call a dedicated Response struct, add basic test
This commit is contained in:
@ -144,6 +144,10 @@ func (n *Node) StartRpc() {
|
||||
rpc.StartHTTPServer()
|
||||
}
|
||||
|
||||
func (n *Node) Switch() *p2p.Switch {
|
||||
return n.sw
|
||||
}
|
||||
|
||||
func (n *Node) ConsensusState() *consensus.ConsensusState {
|
||||
return n.consensusState
|
||||
}
|
||||
|
Reference in New Issue
Block a user