Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dimartiro committed Nov 10, 2024
1 parent b1ab0f6 commit b740bf5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dot/sync/warp_sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ func NewWarpSyncStrategy(cfg *WarpSyncConfig) *WarpSyncStrategy {
}
}

// OnBlockAnnounce on every new block announce received
// Synce it is a warp sync strategy, we are going to only update the peerset reputation
// And peers target block
// OnBlockAnnounce on every new block announce received.
// Since it is a warp sync strategy, we are going to only update the peerset reputation
// And peers target block.
func (w *WarpSyncStrategy) OnBlockAnnounce(from peer.ID, msg *network.BlockAnnounceMessage) (
repChange *Change, err error) {

Expand Down

0 comments on commit b740bf5

Please sign in to comment.