|
|
@ -29,7 +29,7 @@ static void handle_ping(const u8 *msg, |
|
|
|
io_error("Bad ping received", arg); |
|
|
|
} |
|
|
|
|
|
|
|
status_trace("Got ping, sending %s", pong ? |
|
|
|
status_debug("Got ping, sending %s", pong ? |
|
|
|
wire_type_name(fromwire_peektype(pong)) |
|
|
|
: "nothing"); |
|
|
|
|
|
|
@ -55,8 +55,6 @@ u8 *read_peer_msg_(const tal_t *ctx, |
|
|
|
if (!msg) |
|
|
|
io_error("reading from peer", arg); |
|
|
|
|
|
|
|
status_trace("peer_in %s", wire_type_name(fromwire_peektype(msg))); |
|
|
|
|
|
|
|
if (is_gossip_msg(msg)) { |
|
|
|
/* Forward to gossip daemon */ |
|
|
|
wire_sync_write(gossip_fd, take(msg)); |
|
|
|