| 532 | coin_movement_notification_serialize); |
| 533 | |
| 534 | void notify_coin_mvt(struct lightningd *ld, |
| 535 | const struct coin_mvt *mvt) |
| 536 | { |
| 537 | void (*serialize)(struct json_stream *, |
| 538 | const struct coin_mvt *) = coin_movement_notification_gen.serialize; |
| 539 | |
| 540 | struct jsonrpc_notification *n = |
| 541 | jsonrpc_notification_start(NULL, "coin_movement"); |
| 542 | serialize(n->stream, mvt); |
| 543 | jsonrpc_notification_end(n); |
| 544 | plugins_notify(ld->plugins, take(n)); |
| 545 | } |
| 546 | |
| 547 | static void balance_snapshot_notification_serialize(struct json_stream *stream, struct balance_snapshot *snap) |
| 548 | { |
no test coverage detected