From bd89003e43c95f93967ce748fe2e04febf953e49 Mon Sep 17 00:00:00 2001 From: Arkadiy Paronyan Date: Wed, 20 Feb 2019 16:16:10 +0100 Subject: [PATCH] Fixed sending commit message (#1834) --- substrate/core/finality-grandpa/src/communication.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/substrate/core/finality-grandpa/src/communication.rs b/substrate/core/finality-grandpa/src/communication.rs index 18fbcbfeb4..4f6024fb95 100644 --- a/substrate/core/finality-grandpa/src/communication.rs +++ b/substrate/core/finality-grandpa/src/communication.rs @@ -487,11 +487,11 @@ impl> Sink for CommitsOut { auth_data }; - let message = FullCommitMessage:: { + let message = GossipMessage::Commit(FullCommitMessage:: { round: round, set_id: self.set_id, message: compact_commit, - }; + }); self.network.send_commit(round, self.set_id, Encode::encode(&message));