We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 048e088 commit 5bf4553Copy full SHA for 5bf4553
lightning/src/ln/outbound_payment.rs
@@ -1172,7 +1172,7 @@ impl OutboundPayments {
1172
abandon_with_entry!(entry, PaymentFailureReason::RouteNotFound);
1173
return Err(Bolt12PaymentError::SendingFailed(RetryableSendFailure::OnionPacketSizeExceeded))
1174
}
1175
- let absolute_expiry = invoice.created_at().saturating_add(Duration::from_secs(ASYNC_PAYMENT_TIMEOUT_SECS));
+ let absolute_expiry = duration_since_epoch.saturating_add(Duration::from_secs(ASYNC_PAYMENT_TIMEOUT_SECS));
1176
1177
*entry.into_mut() = PendingOutboundPayment::StaticInvoiceReceived {
1178
payment_hash,
0 commit comments