mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
lightningd: Restore forwarding of legacy onions.
Partial revert of 43a833e405
"lightningd: remove support for legacy onion format."; we restore the
ability to decode legacy onions for forwarding, but not to generate them.
(We don't accept them properly since making payment_secret compulsory
anyway, so no real change there!)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Removed: Protocol: ... but we still forward legacy HTLC onions for now.
This commit is contained in:
@@ -5169,7 +5169,6 @@ def test_sendpay_grouping(node_factory, bitcoind):
|
||||
assert([p['status'] for p in pays] == ['failed', 'failed', 'complete'])
|
||||
|
||||
|
||||
@pytest.mark.xfail("needs lecacy onion support")
|
||||
def test_legacyonion(node_factory, bitcoind):
|
||||
# We have to replicate the topology we created onion with, exactly.
|
||||
l1, l2, l3 = node_factory.line_graph(3, fundchannel=False)
|
||||
|
||||
Reference in New Issue
Block a user