From aa2bced37bf0226557039e7dca723d7f55b6bde0 Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Thu, 23 Jan 2025 12:27:09 +0100 Subject: [PATCH] fix python --- bindings/python/src/ldk_node/test_ldk_node.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bindings/python/src/ldk_node/test_ldk_node.py b/bindings/python/src/ldk_node/test_ldk_node.py index 82c493e32..d213267b8 100644 --- a/bindings/python/src/ldk_node/test_ldk_node.py +++ b/bindings/python/src/ldk_node/test_ldk_node.py @@ -185,7 +185,8 @@ def test_channel_full_cycle(self): print("EVENT:", channel_ready_event_2) node_2.event_handled() - invoice = node_2.bolt11_payment().receive(2500000, "asdf", 9217) + description = Bolt11InvoiceStringDescription.DIRECT("asdf") + invoice = node_2.bolt11_payment().receive(2500000, description, 9217) node_1.bolt11_payment().send(invoice, None) payment_successful_event_1 = node_1.wait_next_event()