Skip to content

Commit

Permalink
TEST: add logging when we push gossip.
Browse files Browse the repository at this point in the history
This may be a source of "bad gossip" messages?

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
  • Loading branch information
rustyrussell committed Nov 2, 2019
1 parent 2aa2ad2 commit 2113e1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gossipd/gossipd.c
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,8 @@ void push_gossip(struct daemon *daemon, const u8 *msg TAKES)
if (taken(msg))
tal_steal(tmpctx, msg);

status_debug("Pushing gossip msg %s",
wire_type_name(fromwire_peektype(msg)));
list_for_each(&daemon->peers, peer, list)
queue_peer_msg(peer, msg);
}
Expand Down

0 comments on commit 2113e1d

Please sign in to comment.