Skip to content

Commit

Permalink
Update public key at 0 index error message
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-tkach committed Jan 24, 2025
1 parent 21e6bfc commit a43d6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/rbac-registration/src/cardano/cip509/validation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ pub fn validate_role_data(metadata: &Cip509RbacMetadata, report: &ProblemReport)
None | Some(SimplePublicKeyType::Undefined)
) {
report.other(
"The public key cannot be used for the role 0, only a certificate",
"The public key cannot be used at 0 index. Role 0 requires a certificate and other roles must set 0 public key to undefined if needed.",
context,
);
}
Expand Down

0 comments on commit a43d6ec

Please sign in to comment.