Function oasis_runtime_sdk::modules::consensus_accounts::state::take_undelegation
source · 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.