mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-03 22:51:37 +00:00
remove a stale comment
This commit is contained in:
@ -84,7 +84,6 @@ func Validators(heightPtr *int) (*ctypes.ResultValidators, error) {
|
|||||||
func DumpConsensusState() (*ctypes.ResultDumpConsensusState, error) {
|
func DumpConsensusState() (*ctypes.ResultDumpConsensusState, error) {
|
||||||
peerRoundStates := make(map[string]*cstypes.PeerRoundState)
|
peerRoundStates := make(map[string]*cstypes.PeerRoundState)
|
||||||
for _, peer := range p2pSwitch.Peers().List() {
|
for _, peer := range p2pSwitch.Peers().List() {
|
||||||
// TODO: clean this up?
|
|
||||||
peerState := peer.Get(types.PeerStateKey).(*cm.PeerState)
|
peerState := peer.Get(types.PeerStateKey).(*cm.PeerState)
|
||||||
peerRoundState := peerState.GetRoundState()
|
peerRoundState := peerState.GetRoundState()
|
||||||
peerRoundStates[peer.Key()] = peerRoundState
|
peerRoundStates[peer.Key()] = peerRoundState
|
||||||
|
Reference in New Issue
Block a user