| 738 | } |
| 739 | |
| 740 | void set_custommsgs(struct daemon *daemon, const u8 *msg) |
| 741 | { |
| 742 | tal_free(daemon->custom_msgs); |
| 743 | if (!fromwire_connectd_set_custommsgs(daemon, msg, &daemon->custom_msgs)) |
| 744 | master_badmsg(WIRE_CONNECTD_SET_CUSTOMMSGS, msg); |
| 745 | status_debug("Now allowing %zu custom message types", |
| 746 | tal_count(daemon->custom_msgs)); |
| 747 | } |
| 748 | |
| 749 | void send_custommsg(struct daemon *daemon, const u8 *msg) |
| 750 | { |
no test coverage detected