Function cfxcore::message::decode_rlp_and_check_deprecation
source · pub fn decode_rlp_and_check_deprecation<T: Message + Decodable>(
rlp: &Rlp<'_>,
min_supported_version: ProtocolVersion,
protocol: ProtocolId
) -> Result<T, NetworkError>
Expand description
Check if we received deprecated message.