@@ -36,7 +36,7 @@ impl Strkey {
3636 // SignedPayload is the longest strkey type.
3737 const MAX_PAYLOAD_LEN : usize = ed25519:: SignedPayload :: MAX_PAYLOAD_LEN ;
3838 const MAX_BINARY_LEN : usize = binary_len ( Self :: MAX_PAYLOAD_LEN ) ;
39- pub ( crate ) const MAX_ENCODED_LEN : usize = encode_len ( Self :: MAX_BINARY_LEN ) ;
39+ pub const MAX_ENCODED_LEN : usize = encode_len ( Self :: MAX_BINARY_LEN ) ;
4040 const _ASSERTS: ( ) = {
4141 assert ! ( Self :: MAX_PAYLOAD_LEN == 100 ) ;
4242 assert ! ( Self :: MAX_BINARY_LEN == 103 ) ;
@@ -281,7 +281,7 @@ impl Debug for PreAuthTx {
281281impl PreAuthTx {
282282 pub ( crate ) const PAYLOAD_LEN : usize = 32 ;
283283 pub ( crate ) const BINARY_LEN : usize = binary_len ( Self :: PAYLOAD_LEN ) ;
284- pub ( crate ) const ENCODED_LEN : usize = encode_len ( Self :: BINARY_LEN ) ;
284+ pub const ENCODED_LEN : usize = encode_len ( Self :: BINARY_LEN ) ;
285285 const _ASSERTS: ( ) = {
286286 assert ! ( Self :: BINARY_LEN == 35 ) ;
287287 assert ! ( Self :: ENCODED_LEN == 56 ) ;
@@ -378,7 +378,7 @@ impl Debug for HashX {
378378impl HashX {
379379 pub ( crate ) const PAYLOAD_LEN : usize = 32 ;
380380 pub ( crate ) const BINARY_LEN : usize = binary_len ( Self :: PAYLOAD_LEN ) ;
381- pub ( crate ) const ENCODED_LEN : usize = encode_len ( Self :: BINARY_LEN ) ;
381+ pub const ENCODED_LEN : usize = encode_len ( Self :: BINARY_LEN ) ;
382382 const _ASSERTS: ( ) = {
383383 assert ! ( Self :: BINARY_LEN == 35 ) ;
384384 assert ! ( Self :: ENCODED_LEN == 56 ) ;
@@ -475,7 +475,7 @@ impl Debug for Contract {
475475impl Contract {
476476 pub ( crate ) const PAYLOAD_LEN : usize = 32 ;
477477 pub ( crate ) const BINARY_LEN : usize = binary_len ( Self :: PAYLOAD_LEN ) ;
478- pub ( crate ) const ENCODED_LEN : usize = encode_len ( Self :: BINARY_LEN ) ;
478+ pub const ENCODED_LEN : usize = encode_len ( Self :: BINARY_LEN ) ;
479479 const _ASSERTS: ( ) = {
480480 assert ! ( Self :: BINARY_LEN == 35 ) ;
481481 assert ! ( Self :: ENCODED_LEN == 56 ) ;
@@ -572,7 +572,7 @@ impl Debug for LiquidityPool {
572572impl LiquidityPool {
573573 pub ( crate ) const PAYLOAD_LEN : usize = 32 ;
574574 pub ( crate ) const BINARY_LEN : usize = binary_len ( Self :: PAYLOAD_LEN ) ;
575- pub ( crate ) const ENCODED_LEN : usize = encode_len ( Self :: BINARY_LEN ) ;
575+ pub const ENCODED_LEN : usize = encode_len ( Self :: BINARY_LEN ) ;
576576 const _ASSERTS: ( ) = {
577577 assert ! ( Self :: BINARY_LEN == 35 ) ;
578578 assert ! ( Self :: ENCODED_LEN == 56 ) ;
@@ -678,7 +678,7 @@ impl ClaimableBalance {
678678 // Payload: 1 version byte + 32 hash bytes = 33
679679 pub ( crate ) const PAYLOAD_LEN : usize = 1 + 32 ;
680680 pub ( crate ) const BINARY_LEN : usize = binary_len ( Self :: PAYLOAD_LEN ) ;
681- pub ( crate ) const ENCODED_LEN : usize = encode_len ( Self :: BINARY_LEN ) ;
681+ pub const ENCODED_LEN : usize = encode_len ( Self :: BINARY_LEN ) ;
682682 const _ASSERTS: ( ) = {
683683 assert ! ( Self :: PAYLOAD_LEN == 33 ) ;
684684 assert ! ( Self :: BINARY_LEN == 36 ) ;
0 commit comments