fedimint_core::db

Function module_instance_id_or_global

source
fn module_instance_id_or_global(
    module_instance_id: Option<ModuleInstanceId>,
) -> ModuleInstanceId
Expand description

Helper function to retrieve the module_instance_id for modules, otherwise return 0xff for the global namespace.