mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-04 14:54:26 +01:00
connectd, gossipd: use per-peer logging.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -51,9 +51,9 @@ static struct io_plan *peer_init_received(struct io_conn *conn,
|
||||
return read_init(conn, peer);
|
||||
|
||||
if (!fromwire_init(tmpctx, msg, &globalfeatures, &features)) {
|
||||
status_debug("peer %s bad fromwire_init '%s', closing",
|
||||
type_to_string(tmpctx, struct node_id, &peer->id),
|
||||
tal_hex(tmpctx, msg));
|
||||
status_peer_debug(&peer->id,
|
||||
"bad fromwire_init '%s', closing",
|
||||
tal_hex(tmpctx, msg));
|
||||
return io_close(conn);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user