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