Skip to main content

edit_held

Function edit_held 

Source
fn edit_held(
    store: &Store,
    block_id: &str,
    require_parked: bool,
    edit: impl FnOnce(&mut Vec<Value>) -> bool,
) -> Result<bool, String>
Expand description

Edit the held list of a block inside one transaction. edit gets the messages; None back means leave the block as it is.