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 06ea38a commit 2ed6219Copy full SHA for 2ed6219
lightning/src/ln/outbound_payment.rs
@@ -1153,11 +1153,7 @@ impl OutboundPayments {
1153
return
1154
},
1155
PendingOutboundPayment::InvoiceReceived { payment_hash, retry_strategy, .. } => {
1156
- let recipient_onion = RecipientOnionFields {
1157
- payment_secret: None,
1158
- payment_metadata: None,
1159
- custom_tlvs: vec![],
1160
- };
+ let recipient_onion = RecipientOnionFields::spontaneous_empty();
1161
let retry_strategy = Some(*retry_strategy);
1162
let payment_params = Some(route_params.payment_params.clone());
1163
let (retryable_payment, onion_session_privs) = self.create_pending_payment(
0 commit comments