diff --git a/core/network/impl/protocols/grandpa_protocol.cpp b/core/network/impl/protocols/grandpa_protocol.cpp index 21d6a26c1f..285756df22 100644 --- a/core/network/impl/protocols/grandpa_protocol.cpp +++ b/core/network/impl/protocols/grandpa_protocol.cpp @@ -475,6 +475,9 @@ namespace kagome::network { } bool GrandpaProtocol::write(const PeerId &peer_id, RawMessage raw_message) { + if (not notifications_->peerOut(peer_id)) { + return false; + } if (raw_message.hash) { if (not seen_.add(peer_id, *raw_message.hash)) { return false;