pub fn take_undelegation(ud: &Undelegation) -> Result<DelegationInfo, Error>Expand description
Remove an existing undelegation and return it.
In case the undelegation doesn’t exist, returns a default-constructed DelegationInfo.
pub fn take_undelegation(ud: &Undelegation) -> Result<DelegationInfo, Error>Remove an existing undelegation and return it.
In case the undelegation doesn’t exist, returns a default-constructed DelegationInfo.