Skip to content

Commit 393e8e5

Browse files
committed
connectd: remove a noisy debug msg, fix name typo.
Signed-off-by: Rusty Russell <[email protected]>
1 parent c110d0b commit 393e8e5

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

connectd/multiplex.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -392,9 +392,6 @@ static u8 *maybe_from_gossip_store(const tal_t *ctx, struct peer *peer)
392392
&peer->daemon->gossip_store_end);
393393
/* Don't send back gossip they sent to us! */
394394
if (msg) {
395-
status_peer_debug(&peer->id,
396-
"Sending gossip %s",
397-
peer_wire_name(fromwire_peektype(msg)));
398395
if (gossip_rcvd_filter_del(peer->gs.grf, msg)) {
399396
msg = tal_free(msg);
400397
goto again;
@@ -582,7 +579,7 @@ static void handle_gossip_in(struct peer *peer, const u8 *msg)
582579
daemon_conn_send(peer->daemon->gossipd, take(gmsg));
583580
}
584581

585-
static void handle_gossip_timetamp_filter_in(struct peer *peer, const u8 *msg)
582+
static void handle_gossip_timestamp_filter_in(struct peer *peer, const u8 *msg)
586583
{
587584
struct bitcoin_blkid chain_hash;
588585
u32 first_timestamp, timestamp_range;
@@ -650,7 +647,7 @@ static bool handle_message_locally(struct peer *peer, const u8 *msg)
650647
gossip_rcvd_filter_add(peer->gs.grf, msg);
651648

652649
if (type == WIRE_GOSSIP_TIMESTAMP_FILTER) {
653-
handle_gossip_timetamp_filter_in(peer, msg);
650+
handle_gossip_timestamp_filter_in(peer, msg);
654651
return true;
655652
} else if (type == WIRE_PING) {
656653
handle_ping_in(peer, msg);

0 commit comments

Comments
 (0)