Skip to content

Commit 0d9a247

Browse files
authoredMar 22, 2023
consensus: Remove unused function (#2047)
1 parent caa320e commit 0d9a247

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed
 

‎consensus/istanbul/protocol.go

-5
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,3 @@ const (
5454
func IsIstanbulMsg(msg p2p.Msg) bool {
5555
return msg.Code >= ConsensusMsg && msg.Code <= ValidatorHandshakeMsg
5656
}
57-
58-
// IsGossipedMsg specifies which messages should be gossiped throughout the network (as opposed to directly sent to a peer).
59-
func IsGossipedMsg(msgCode uint64) bool {
60-
return msgCode == QueryEnodeMsg || msgCode == VersionCertificatesMsg
61-
}

0 commit comments

Comments
 (0)