mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 08:34:20 +01:00
pay: correctly blame the *next* node on BADONION error.
The node which sent the error is doing so because the following one sent WIRE_UPDATE_FAIL_MALFORMED_HTLC. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
f5ced1ddd5
commit
8f8783c0e3
@@ -1137,7 +1137,6 @@ def test_check_command(node_factory):
|
||||
sock.close()
|
||||
|
||||
|
||||
@pytest.mark.xfail(strict=True)
|
||||
def test_bad_onion(node_factory, bitcoind):
|
||||
"""Test that we get a reasonable error from sendpay when an onion is bad"""
|
||||
l1, l2, l3, l4 = node_factory.line_graph(4, wait_for_announce=True)
|
||||
|
||||
Reference in New Issue
Block a user