There was an error while loading. Please reload this page.
1 parent 8cbd9f1 commit d622003Copy full SHA for d622003
1 file changed
src/strkey.rs
@@ -36,6 +36,7 @@ impl Strkey {
36
// SignedPayload is the longest strkey type.
37
const MAX_PAYLOAD_LEN: usize = ed25519::SignedPayload::MAX_PAYLOAD_LEN;
38
const MAX_BINARY_LEN: usize = binary_len(Self::MAX_PAYLOAD_LEN);
39
+ #[doc(hidden)]
40
pub const MAX_ENCODED_LEN: usize = encode_len(Self::MAX_BINARY_LEN);
41
const _ASSERTS: () = {
42
assert!(Self::MAX_PAYLOAD_LEN == 100);
0 commit comments