Add a feedback when response is successfully sent (#8510)

* Add a feedback when response is successfully sent

* Fix gp warp sync
This commit is contained in:
Pierre Krieger
2021-04-01 18:25:37 +02:00
committed by GitHub
parent 1fdc8fa1c1
commit 09aa03e3c5
4 changed files with 52 additions and 2 deletions
@@ -254,6 +254,7 @@ impl<B: BlockT> BlockRequestHandler<B> {
pending_response.send(OutgoingResponse {
result,
reputation_changes,
sent_feedback: None,
}).map_err(|_| HandleRequestError::SendResponse)
}