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