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
@@ -135,6 +135,7 @@ impl<TBlock: BlockT, TBackend: Backend<TBlock>> GrandpaWarpSyncRequestHandler<TB
pending_response.send(OutgoingResponse {
result: Ok(proof.encode()),
reputation_changes: Vec::new(),
sent_feedback: None,
}).map_err(|_| HandleRequestError::SendResponse)
}