Skip to content

Commit

Permalink
Correct control panel height display
Browse files Browse the repository at this point in the history
  • Loading branch information
Emyrk committed Apr 28, 2018
1 parent a9a0159 commit f7b7b8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions state/stateDisplay.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ func DeepStateDisplayCopyDifference(s *State, prev *DisplayState) (*DisplayState
if s.GetHighestAck() > lheight {
lheight = s.GetHighestAck()
}
tl := s.GetTrueLeaderHeight()
if tl > lheight {
lheight = tl
}
ds.CurrentLeaderHeight = lheight
ds.CurrentEBDBHeight = s.EntryDBHeightComplete
ds.LeaderHeight = lheight
Expand Down

0 comments on commit f7b7b8e

Please sign in to comment.