| 864 | } |
| 865 | |
| 866 | static void remove_channel_from_store(struct routing_state *rstate, |
| 867 | struct chan *chan) |
| 868 | { |
| 869 | /* Put in tombstone marker */ |
| 870 | gossip_store_mark_channel_deleted(rstate->gs, &chan->scid); |
| 871 | |
| 872 | /* Now delete old entries. */ |
| 873 | delete_chan_messages_from_store(rstate, chan); |
| 874 | } |
| 875 | |
| 876 | bool routing_add_channel_announcement(struct routing_state *rstate, |
| 877 | const u8 *msg TAKES, |
no test coverage detected