From eb0ac9d13d73ffac8124e3a8d878b5a2e24d57c6 Mon Sep 17 00:00:00 2001 From: Riccardo Balbo Date: Mon, 9 Jun 2025 14:16:15 +0200 Subject: [PATCH] fix test_multi_pay_invoices --- tests/integration/test_all.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/test_all.py b/tests/integration/test_all.py index e965b0d..8b82297 100644 --- a/tests/integration/test_all.py +++ b/tests/integration/test_all.py @@ -627,6 +627,7 @@ async def test_multi_pay_invoices(): assert not error assert result["invoice"] invoice3 = result["invoice"] + invoice3_payhash = result["payment_hash"] await wallet3.send_event( "multi_pay_invoice", @@ -645,7 +646,7 @@ async def test_multi_pay_invoices(): assert result["preimage"] elif d_tag == "invoice2": assert result["preimage"] - elif d_tag == invoice3: + elif d_tag == invoice3_payhash: assert result["preimage"] else: raise AssertionError("Unexpected d tag")