| 824 | } |
| 825 | |
| 826 | void set_custommsgs(struct daemon *daemon, const u8 *msg) |
| 827 | { |
| 828 | tal_free(daemon->custom_msgs); |
| 829 | if (!fromwire_connectd_set_custommsgs(daemon, msg, &daemon->custom_msgs)) |
| 830 | master_badmsg(WIRE_CONNECTD_SET_CUSTOMMSGS, msg); |
| 831 | status_debug("Now allowing %zu custom message types", |
| 832 | tal_count(daemon->custom_msgs)); |
| 833 | } |
| 834 | |
| 835 | void send_custommsg(struct daemon *daemon, const u8 *msg) |
| 836 | { |
no test coverage detected