features: renumber from 102/103 to 38/39.

100+ is for experimentation, modern spec practice is to assign feature bits
sequentially as PRs get added, to avoid later renumbering.

Still respect the old bit for now.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2021-07-02 09:41:30 +09:30
parent 38fafc7d6d
commit 6336d39a95
5 changed files with 10 additions and 9 deletions

View File

@@ -397,7 +397,7 @@ static const char *feature_name(const tal_t *ctx, size_t f)
NULL,
NULL,
NULL,
NULL,
"option_onion_messages", /* 38/39 */
NULL, /* 40/41 */
NULL,
NULL,
@@ -429,7 +429,6 @@ static const char *feature_name(const tal_t *ctx, size_t f)
NULL,
NULL,
NULL, /* 100/101 */
"option_onion_messages", /* 102/103 */
};
if (f / 2 >= ARRAY_SIZE(fnames) || !fnames[f / 2])