Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use max_encoded_len() instead of hardcoded constant
  • Loading branch information
KiChjang committed Jun 24, 2021
commit 78814b67253f63555be988bacf3b981eb4334f3b
2 changes: 1 addition & 1 deletion frame/identity/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ pub enum IdentityField {

impl MaxEncodedLen for IdentityField {
fn max_encoded_len() -> usize {
8
u64::max_encoded_len()
}
}

Expand Down