We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab12a60 commit 7c76cc1Copy full SHA for 7c76cc1
consensus_encoding/src/encode/encoders.rs
@@ -17,7 +17,7 @@ use internals::{compact_size, ToU64};
17
use super::{Encodable, Encoder};
18
19
/// The maximum length of a compact size encoding.
20
-const SIZE: usize = compact_size::MAX_ENCODING_SIZE;
+const SIZE: usize = 9;
21
22
/// An encoder for a single byte slice.
23
pub struct BytesEncoder<'sl> {
0 commit comments