mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
commando: unmangle JSON.
JSON needs to escape \, since it can't be in front of anything unexpected, so no \|. So we need to return \\ to \, and in theory handle \n etc. Changelog-Fixed: JSON-RPC: `commando-rune` now handles \\ escapes properly. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
1f9730748c
commit
d57d87ea3a
@@ -2636,7 +2636,6 @@ def test_commando(node_factory, executor):
|
||||
assert exc_info.value.error['data']['erring_index'] == 0
|
||||
|
||||
|
||||
@pytest.mark.xfail(reason="Escapes in restrictions are broken", strict=True)
|
||||
def test_commando_rune(node_factory):
|
||||
l1, l2 = node_factory.get_nodes(2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user