diff --git a/crates/net/discv4/src/proto.rs b/crates/net/discv4/src/proto.rs index a707174c5..998ddd869 100644 --- a/crates/net/discv4/src/proto.rs +++ b/crates/net/discv4/src/proto.rs @@ -394,7 +394,11 @@ impl Decodable for Ping { return Err(RlpError::UnexpectedString) } let started_len = b.len(); + + // > Implementations should ignore any mismatches in version: + // let _version = u32::decode(b)?; + let mut this = Self { from: Decodable::decode(b)?, to: Decodable::decode(b)?,