common: No longer support new channels without option_static_remotekey.

We still support *existing* channels.  Just not new ones (before they could,
in theory, explicitly ask for one).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2024-06-19 09:30:01 +09:30
parent e0b4a579b1
commit b6d7ee1f11
25 changed files with 117 additions and 131 deletions

View File

@@ -395,7 +395,7 @@ int main(int argc, char *argv[])
else if (option_static_remotekey)
channel_type = channel_type_static_remotekey(NULL);
else
channel_type = channel_type_none(NULL);
channel_type = channel_type_none_obsolete(NULL);
channel = new_full_channel(NULL,
&cid,