From 855980641c50d977702978e5d669b95997537f43 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 28 Feb 2023 09:30:44 +1030 Subject: [PATCH] sql: fix schema tests since num_channels added to listpeers. Commit a418615b7f36c7c1fa9dc67447996559ad9033ab ("rpc: adds num_channels to listpeers") broke the sql tests. Turns out, no openchannel v2 tests are run in CI! Signed-off-by: Rusty Russell --- tests/test_plugin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_plugin.py b/tests/test_plugin.py index ed1ddb0bc..4c41e1e46 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -3472,6 +3472,8 @@ def test_sql(node_factory, bitcoind): 'type': 'pubkey'}, {'name': 'connected', 'type': 'boolean'}, + {'name': 'num_channels', + 'type': 'u32'}, {'name': 'remote_addr', 'type': 'string'}, {'name': 'features',