pub(super) fn remove_from_selected_msgs(
    from: &Address,
    pending: &RwLock<HashMap<Address, MsgSet>>,
    sequence: u64,
    rmsgs: &mut HashMap<Address, HashMap<u64, SignedMessage>>,
) -> Result<(), Error>
Expand description

This is a helper function for head_change. This method will remove a sequence for a from address from the messages selected by priority hash-map. It also removes the ‘from’ address and sequence from the MessagePool.