Skip to content

Commit

Permalink
core: make candid max size public (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
sesi200 authored Dec 13, 2023
1 parent 2f6f90a commit b40a4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/ic_principal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ pub struct Principal {
}

impl Principal {
const MAX_LENGTH_IN_BYTES: usize = 29;
pub const MAX_LENGTH_IN_BYTES: usize = 29;
const CRC_LENGTH_IN_BYTES: usize = 4;

const SELF_AUTHENTICATING_TAG: u8 = 2;
Expand Down

0 comments on commit b40a4ab

Please sign in to comment.