Skip to content

Commit 33a38f1

Browse files
committed
Use payment IDs for BOLT11 payments
Create inbound BOLT11 records from claimable and claimed events so inbound payments can be tracked by the IDs emitted by LDK. Co-Authored-By: HAL 9000
1 parent 5d66999 commit 33a38f1

7 files changed

Lines changed: 698 additions & 569 deletions

File tree

bindings/python/src/ldk_node/test_ldk_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def test_spontaneous_payment(self):
235235
self.assertEqual(received_event.custom_records, custom_tlvs)
236236

237237
sender_payment = node_1.payment(keysend_payment_id)
238-
receiver_payment = node_2.payment(keysend_payment_id)
238+
receiver_payment = node_2.payment(received_event.payment_id)
239239

240240
self.assertIsNotNone(sender_payment)
241241
self.assertIsNotNone(receiver_payment)

0 commit comments

Comments
 (0)