Skip to content

Commit

Permalink
ensure more redundant final graph sync to peers
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricfung committed Mar 19, 2019
1 parent b5ba9f0 commit 31440f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (me *Peer) compareRoundGraphAndGetTopologicalOffset(local, remote []*SyncPo
if l == nil {
continue
}
if l.Number < r.Number+config.SnapshotReferenceThreshold/2 {
if l.Number < r.Number {
continue
}

Expand Down

0 comments on commit 31440f4

Please sign in to comment.