junobuild_shared::controllersFunction assert_controllers
Source pub fn assert_controllers(
controllers_ids: &[ControllerId],
) -> Result<(), String>
Expand description
Asserts that the controller IDs are not anonymous and not revoked.
§Arguments
controllers_ids
: Slice of ControllerId
to validate.
§Returns
Ok(())
if no anonymous and no revoked IDs are present, or Err(String)
if any are found.