log success fixme
This commit is contained in:
parent
2c43138043
commit
7216363d2e
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user