Skip to content

Commit

Permalink
chore: Correct limit in verify
Browse files Browse the repository at this point in the history
  • Loading branch information
dariusc93 committed Oct 11, 2023
1 parent c537ce1 commit daa51cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/warp-ipfs/src/store/document/identity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,12 @@ impl IdentityDocument {
}

if let Some(status) = &payload.status_message {
if status.len() > 256 {
if status.len() > 512 {
return Err(Error::InvalidLength {
context: "identity status message".into(),
current: status.len(),
minimum: None,
maximum: Some(256),
maximum: Some(512),
});
}
}
Expand Down

0 comments on commit daa51cf

Please sign in to comment.