Skip to content

Commit

Permalink
Make the sync error about factomd go away from first pass
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Masley committed Jun 9, 2017
1 parent 338abbe commit 9bf1335
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pageHandlers.go
Expand Up @@ -71,8 +71,8 @@ func (s *SettingsStruct) Refresh() (leaderHeight int64, entryHeight int64, fbloc
}

// 1 block grace period
if h != nil && (h.EntryHeight >= (h.LeaderHeight - 1)) {
if fblockHeight >= uint32(h.EntryHeight) {
if h != nil && (h.DirectoryBlockHeight >= (h.LeaderHeight - 1)) {
if fblockHeight >= uint32(h.DirectoryBlockHeight) {
s.Synced = true
return
}
Expand Down

0 comments on commit 9bf1335

Please sign in to comment.