Skip to main content

clear_cap

Function clear_cap 

Source
pub(crate) fn clear_cap(
    state: &AppState,
    def_id: &str,
) -> Result<CapChange, String>
Expand description

Takes the agent’s own cap away, so it has the default again, and does what change_cap does for the cap that gives.