Peer: Ignore incoming SendHeaders messages, because we don't announce new blocks.
@@ -515,6 +515,8 @@ public class Peer extends PeerSocketHandler {
processUTXOMessage((UTXOsMessage) m);
} else if (m instanceof RejectMessage) {
log.error("{} {}: Received {}", this, getPeerVersionMessage().subVer, m);
+ } else if (m instanceof SendHeadersMessage) {
+ // We ignore this message, because we don't announce new blocks.
} else {
log.warn("{}: Received unhandled message: {}", this, m);
}
