mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-02-23 12:15:18 +00:00
Update ssz_snappy.rs
This commit is contained in:
parent
ecbf3ae4c8
commit
4460bcfe7c
@ -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)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user