mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
libplugin: It's featurebits, not features
The documentation was wrong, and I copied my mistake to `libplugin` where it was then ignored instead of ORed into the node's featurebits. This fixes both.
This commit is contained in:
committed by
neil saitug
parent
8c23f22591
commit
9f298330b2
@@ -604,7 +604,7 @@ handle_getmanifest(struct command *getmanifest_cmd)
|
||||
json_array_end(params);
|
||||
|
||||
if (p->our_features != NULL) {
|
||||
json_object_start(params, "features");
|
||||
json_object_start(params, "featurebits");
|
||||
for (size_t i = 0; i < NUM_FEATURE_PLACE; i++) {
|
||||
u8 *f = p->our_features->bits[i];
|
||||
const char *fieldname = feature_place_names[i];
|
||||
|
||||
Reference in New Issue
Block a user