We save these so we always tell gossipd about new blockheight first. */
| 337 | |
| 338 | /* We save these so we always tell gossipd about new blockheight first. */ |
| 339 | void gossipd_notify_spends(struct lightningd *ld, |
| 340 | u32 blockheight, |
| 341 | const struct short_channel_id *scids) |
| 342 | { |
| 343 | subd_send_msg(ld->gossip, |
| 344 | take(towire_gossipd_outpoints_spent(NULL, |
| 345 | blockheight, |
| 346 | scids))); |
| 347 | } |
| 348 | |
| 349 | static struct command_result *json_setleaserates(struct command *cmd, |
| 350 | const char *buffer, |
no test coverage detected