Update ssz_snappy.rs

This commit is contained in:
Fallengirl 2025-02-19 10:12:20 +01:00 committed by GitHub
parent ecbf3ae4c8
commit 4460bcfe7c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,7 +66,7 @@ impl Encoder<RPCCodedResponse> for SSZSnappyInboundCodec {
} }
// Inserts the length prefix of the uncompressed bytes into dst // Inserts the length prefix of the uncompressed bytes into dst
// encoded as a unsigned varint // encoded as an unsigned varint
self.inner self.inner
.encode(bytes.len(), dst) .encode(bytes.len(), dst)
.map_err(RPCError::from)?; .map_err(RPCError::from)?;