| 92 | }; |
| 93 | |
| 94 | static void add_stat(struct stat *stat, |
| 95 | struct amount_msat amount) |
| 96 | { |
| 97 | stat->num_channels++; |
| 98 | if (!amount_msat_accumulate(&stat->capacity, amount)) |
| 99 | abort(); |
| 100 | } |
| 101 | |
| 102 | static void node_stats(const struct route_query *rq, |
| 103 | const struct gossmap_node *node, |
no test coverage detected