pub fn update_principal_to_hash(
    principal: Principal,
    hash: Signature
) -> Result<(), String>
Expand description

Updates the hash for a principal.

§Arguments

  • principal - The principal to update.
  • hash - The new hash for the principal.

§Returns

  • Result<(), String> - The result of the update operation.