all_paths_failed: payment.get().remaining_parts() == 0,
path: path.clone(),
short_channel_id: None,
+ retry: None,
#[cfg(test)]
error_code: None,
#[cfg(test)]
all_paths_failed,
path: path.clone(),
short_channel_id,
+ retry: None,
#[cfg(test)]
error_code: onion_error_code,
#[cfg(test)]
all_paths_failed,
path: path.clone(),
short_channel_id: Some(path.first().unwrap().short_channel_id),
+ retry: None,
#[cfg(test)]
error_code: Some(*failure_code),
#[cfg(test)]