a wrapper network for rebroadcasting GRANDPA messages periodically (#1513)

This commit is contained in:
Robert Habermeier
2019-01-21 16:33:07 -03:00
committed by GitHub
parent 3c7d6c7b72
commit 9ae1316c86
3 changed files with 168 additions and 5 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ impl Network for MessageRouting {
Box::new(messages)
}
fn send_commit(&self, set_id: u64, message: Vec<u8>) {
fn send_commit(&self, _round: u64, set_id: u64, message: Vec<u8>) {
let mut inner = self.inner.lock();
inner.peer(self.peer_id).gossip_message(make_commit_topic(set_id), message, true);
inner.route_until_complete();