Browse Source

remove a stale comment

pull/724/head
Ethan Buchman 7 years ago
parent
commit
9fb45c5b5a
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      rpc/core/consensus.go

+ 0
- 1
rpc/core/consensus.go View File

@ -84,7 +84,6 @@ func Validators(heightPtr *int) (*ctypes.ResultValidators, error) {
func DumpConsensusState() (*ctypes.ResultDumpConsensusState, error) {
peerRoundStates := make(map[string]*cstypes.PeerRoundState)
for _, peer := range p2pSwitch.Peers().List() {
// TODO: clean this up?
peerState := peer.Get(types.PeerStateKey).(*cm.PeerState)
peerRoundState := peerState.GetRoundState()
peerRoundStates[peer.Key()] = peerRoundState


Loading…
Cancel
Save