mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
connectd: make sure we io_log msgs doing to gossipd.
test_gossip_no_empty_announcements relies on this! Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
3ccb3da2c5
commit
4584066a1e
1 changed files with 3 additions and 0 deletions
|
@ -350,6 +350,9 @@ static bool handle_message_locally(struct peer *peer, const u8 *msg)
|
|||
return false;
|
||||
}
|
||||
|
||||
/* gossipd doesn't log IO, so we log it here. */
|
||||
status_peer_io(LOG_IO_IN, &peer->id, msg);
|
||||
|
||||
if (!bitcoin_blkid_eq(&chainparams->genesis_blockhash, &chain_hash)) {
|
||||
send_warning(peer, "gossip_timestamp_filter for bad chain: %s",
|
||||
tal_hex(tmpctx, msg));
|
||||
|
|
Loading…
Add table
Reference in a new issue