Skip to content

Commit e0b9d39

Browse files
committed
internals: Make compact_size::MAX_ENCODING_SIZE public
I would like to use this const in `consensus_encoding`.
1 parent 3c01d81 commit e0b9d39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internals/src/compact_size.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ use crate::ToU64;
1818
pub const MAX_ENCODABLE_VALUE: u64 = 0x0200_0000;
1919

2020
/// The maximum length of an encoding.
21-
const MAX_ENCODING_SIZE: usize = 9;
21+
pub const MAX_ENCODING_SIZE: usize = 9;
2222

2323
/// Returns the number of bytes used to encode this `CompactSize` value.
2424
///

0 commit comments

Comments
 (0)