* Notify subscribers of the `channel_hint` topic about a changed hint * * We share the channel_hints across payments, and across plugins, in order * to maximize the context they have when performing payments. */
| 386 | * to maximize the context they have when performing payments. |
| 387 | */ |
| 388 | static void channel_hint_notify_core(struct plugin *plugin, |
| 389 | struct json_stream *js, |
| 390 | const char *fieldname, |
| 391 | const struct channel_hint *hint) |
| 392 | { |
| 393 | /* The timestamp used to decay the observation over time. */ |
| 394 | channel_hint_to_json(fieldname, hint, js); |
| 395 | } |
| 396 | |
| 397 | static void channel_hint_notify(struct plugin *plugin, |
| 398 | const struct channel_hint *hint) |
no test coverage detected