Skip to content

Commit 54b1e6d

Browse files
committed
f LDK: Account for new payment_id field for inbound payments
.. for now by igoring it. Will properly address them in a follow-up
1 parent 73ffc75 commit 54b1e6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/event.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,7 @@ where
563563
claim_deadline,
564564
onion_fields,
565565
counterparty_skimmed_fee_msat,
566+
payment_id: _,
566567
} => {
567568
let payment_id = PaymentId(payment_hash.0);
568569
if let Some(info) = self.payment_store.get(&payment_id) {
@@ -825,6 +826,7 @@ where
825826
htlcs: _,
826827
sender_intended_total_msat: _,
827828
onion_fields,
829+
payment_id: _,
828830
} => {
829831
let payment_id = PaymentId(payment_hash.0);
830832
log_info!(

0 commit comments

Comments
 (0)