fedimint_client

Function box_up_state

Source
pub(crate) fn box_up_state(
    state: impl IState + 'static,
) -> Box<dyn IState + Send + Sync + 'static>
Expand description

Not sure why I couldn’t just directly call Box::new ins states_to_instanceless_dyn, but this fixed it.