gossipd: remove some spammy debug messages.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
a1644c1b6e
commit
7d207c50fa
|
@ -1196,12 +1196,6 @@ static struct io_plan *get_incoming_channels(struct io_conn *conn,
|
||||||
if (!fromwire_gossip_get_incoming_channels(tmpctx, msg, &exposeprivate))
|
if (!fromwire_gossip_get_incoming_channels(tmpctx, msg, &exposeprivate))
|
||||||
master_badmsg(WIRE_GOSSIP_GET_INCOMING_CHANNELS, msg);
|
master_badmsg(WIRE_GOSSIP_GET_INCOMING_CHANNELS, msg);
|
||||||
|
|
||||||
status_debug("exposeprivate = %s",
|
|
||||||
exposeprivate ? (*exposeprivate ? "TRUE" : "FALSE") : "NULL");
|
|
||||||
status_debug("msg = %s", tal_hex(tmpctx, msg));
|
|
||||||
status_debug("always_expose = %u, never_expose = %u",
|
|
||||||
always_expose(exposeprivate), never_expose(exposeprivate));
|
|
||||||
|
|
||||||
has_public = always_expose(exposeprivate);
|
has_public = always_expose(exposeprivate);
|
||||||
|
|
||||||
node = get_node(daemon->rstate, &daemon->rstate->local_id);
|
node = get_node(daemon->rstate, &daemon->rstate->local_id);
|
||||||
|
|
|
@ -74,13 +74,9 @@ static u8 *zencode(const tal_t *ctx, const u8 *scids, size_t len)
|
||||||
z = tal_arr(ctx, u8, compressed_len);
|
z = tal_arr(ctx, u8, compressed_len);
|
||||||
err = compress2(z, &compressed_len, scids, len, Z_DEFAULT_COMPRESSION);
|
err = compress2(z, &compressed_len, scids, len, Z_DEFAULT_COMPRESSION);
|
||||||
if (err == Z_OK) {
|
if (err == Z_OK) {
|
||||||
status_debug("compressed %zu into %lu",
|
|
||||||
len, compressed_len);
|
|
||||||
tal_resize(&z, compressed_len);
|
tal_resize(&z, compressed_len);
|
||||||
return z;
|
return z;
|
||||||
}
|
}
|
||||||
status_debug("compress %zu returned %i:"
|
|
||||||
" not compresssing", len, err);
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue