Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulSnow committed Jan 16, 2017
1 parent e595835 commit b7b3e97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions state/stateConsensus.go
Expand Up @@ -458,10 +458,10 @@ func (s *State) FollowerExecuteDBState(msg interfaces.IMsg) {
dbheight := dbstatemsg.DirectoryBlock.GetHeader().GetDBHeight()

ix := int(dbheight) - s.DBStatesReceivedBase
if ix >=0 && ix < len(s.DBStatesReceived) {
if ix >= 0 && ix < len(s.DBStatesReceived) {
s.DBStatesReceived[ix] = nil
}

// ignore if too old.
if dbheight < s.GetHighestSavedBlk() {
return
Expand Down

0 comments on commit b7b3e97

Please sign in to comment.