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 2655285 commit 49d5cc7Copy full SHA for 49d5cc7
lightning/src/ln/outbound_payment.rs
@@ -1167,11 +1167,7 @@ impl OutboundPayments {
1167
return
1168
},
1169
PendingOutboundPayment::InvoiceReceived { payment_hash, retry_strategy, .. } => {
1170
- let recipient_onion = RecipientOnionFields {
1171
- payment_secret: None,
1172
- payment_metadata: None,
1173
- custom_tlvs: vec![],
1174
- };
+ let recipient_onion = RecipientOnionFields::spontaneous_empty();
1175
let retry_strategy = Some(*retry_strategy);
1176
let payment_params = Some(route_params.payment_params.clone());
1177
let (retryable_payment, onion_session_privs) = self.create_pending_payment(
0 commit comments