| 100 | } |
| 101 | |
| 102 | static void msg_to_peer_outq(struct peer *peer, const u8 *msg TAKES) |
| 103 | { |
| 104 | if (is_urgent(fromwire_peektype(msg))) |
| 105 | peer->peer_out_urgent++; |
| 106 | |
| 107 | msg_enqueue(peer->peer_outq, msg); |
| 108 | } |
| 109 | |
| 110 | void inject_peer_msg(struct peer *peer, const u8 *msg TAKES) |
| 111 | { |
no test coverage detected