Skip to main content

resign_delegation

Function resign_delegation 

Source
pub fn resign_delegation(
    new_root: &SecretKey,
    delegation: &HostDelegation,
) -> Result<Signed<HostDelegation>, BuildError>
Expand description

Re-signs an existing delegation under a new root key. The bytes, hence the delegation_hash and epoch, are unchanged.

ยงErrors

Signing errors.