| 489 | }; |
| 490 | |
| 491 | int main(int argc, char *argv[]) |
| 492 | { |
| 493 | struct feature_set *features = tal(NULL, struct feature_set); |
| 494 | setup_locale(); |
| 495 | |
| 496 | for (int i=0; i<ARRAY_SIZE(features->bits); i++) |
| 497 | features->bits[i] = tal_arr(features, u8, 0); |
| 498 | set_feature_bit(&features->bits[NODE_ANNOUNCE_FEATURE], KEYSEND_FEATUREBIT); |
| 499 | |
| 500 | plugin_main(argv, init, PLUGIN_STATIC, true, features, commands, |
| 501 | ARRAY_SIZE(commands), NULL, 0, hooks, ARRAY_SIZE(hooks), |
| 502 | notification_topics, ARRAY_SIZE(notification_topics), NULL); |
| 503 | } |
nothing calls this directly
no test coverage detected