Function attestation::pallet::dispatchables::remove
source · pub fn remove<T: Config>(
claim_hash: ClaimHashOf<T>,
authorization: Option<T::AccessControl>
)
Expand description
Remove an attestation.
The origin must be either the creator of the attestation or an entity which is an ancestor of the attester in the delegation tree, i.e., it was either the delegator of the attester or an ancestor thereof.
Always emits AttestationRemoved
and emits AttestationRevoked
only if the attestation was not revoked yet.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::remove
.