Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leventeliu committed Aug 7, 2019
1 parent 259c54a commit 48a1a7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sqlchain/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,9 @@ func (c *Chain) sync() (err error) {
le.WithError(err).Errorf("failed to sync block at height %d", height)
return
}
// Skip sync and reset error
c.rt.SetNextTurn(height + 1)
err = nil
} else {
c.rt.IncNextTurn()
}
Expand Down

0 comments on commit 48a1a7a

Please sign in to comment.