diff --git a/src/p2p.rs b/src/p2p.rs index b027a2c9a..e8194b68b 100644 --- a/src/p2p.rs +++ b/src/p2p.rs @@ -258,6 +258,7 @@ impl Connection { NetworkMessage::Block(block) => blocks_send.send(block)?, NetworkMessage::Headers(headers) => headers_send.send(headers)?, NetworkMessage::Alert(_) => (), // https://bitcoin.org/en/alert/2016-11-01-alert-retirement + NetworkMessage::Addr(_) => (), // unused msg => warn!("unexpected message: {:?}", msg), } }