Skip to content

Commit

Permalink
log success fixme
Browse files Browse the repository at this point in the history
  • Loading branch information
schomatis committed Aug 6, 2020
1 parent 2c43138 commit 7216363
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chain/blocksync/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@ func (client *BlockSync) sendRequestToPeer(
}

client.peerTracker.logSuccess(peer, build.Clock.Since(connectionStart))
// FIXME: We should really log a success only after we validate the response.
// It might be a bit hard to do.
return &res, nil
}

Expand Down

0 comments on commit 7216363

Please sign in to comment.