commando: integer command parameters can be compared with < and >.

Previously any attempt would result in "is not an integer field"; we
now recognize valid JSON integers as integer fields.

Changelog-Fixed: Plugins: `commando` runes can now compare integer parameters using '<' and '>' as expected.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2023-06-06 11:29:03 +09:30
parent 0f72542967
commit 33be5c8d80
2 changed files with 12 additions and 1 deletions

View File

@@ -2991,7 +2991,6 @@ def test_commando_listrunes(node_factory):
assert not_our_rune['our_rune'] is False
@pytest.mark.xfail(strict=True)
def test_commando_rune_pay_amount(node_factory):
l1, l2 = node_factory.line_graph(2)