pub(crate) fn fresh_dispatch_refusal(
invoice_expired: bool,
fresh_max_delay: u64,
) -> Option<Cancelled>Expand description
Decides whether a send may dispatch a payment it has not started yet, returning the reason to cancel with if not. A payment already in flight resumes regardless.