Skip to content

Function client::owner::resign_delegation

zaun_community_protocol::client::owner::resign_delegation · Function

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

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

Signing errors.

Full rustdoc page