Skip to content

Commit a43d6ec

Browse files
Update public key at 0 index error message
1 parent 21e6bfc commit a43d6ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/rbac-registration/src/cardano/cip509/validation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ pub fn validate_role_data(metadata: &Cip509RbacMetadata, report: &ProblemReport)
209209
None | Some(SimplePublicKeyType::Undefined)
210210
) {
211211
report.other(
212-
"The public key cannot be used for the role 0, only a certificate",
212+
"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.",
213213
context,
214214
);
215215
}

0 commit comments

Comments
 (0)