We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1309a30 commit 3b6ceb4Copy full SHA for 3b6ceb4
lightning/src/ln/outbound_payment.rs
@@ -1167,11 +1167,7 @@ impl OutboundPayments {
1167
},
1168
PendingOutboundPayment::InvoiceReceived { payment_hash, retry_strategy, .. } => {
1169
let total_amount = route_params.final_value_msat;
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