log success fixme

This commit is contained in:
Lucas Molas 2020-08-06 12:40:01 -03:00
parent 2c43138043
commit 7216363d2e

View File

@ -407,6 +407,8 @@ func (client *BlockSync) sendRequestToPeer(
} }
client.peerTracker.logSuccess(peer, build.Clock.Since(connectionStart)) 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 return &res, nil
} }