From 675e55e01392971aa56bda56cb09498b466d0902 Mon Sep 17 00:00:00 2001 From: Suhas Daftuar Date: Fri, 14 Aug 2020 14:47:57 -0400 Subject: [PATCH] Ignore unknown messages before VERACK --- src/net_processing.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/net_processing.cpp b/src/net_processing.cpp index adad428413..c89e48431a 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -2585,8 +2585,7 @@ void PeerLogicValidation::ProcessMessage(CNode& pfrom, const std::string& msg_ty } if (!pfrom.fSuccessfullyConnected) { - // Must have a verack message before anything else - Misbehaving(pfrom.GetId(), 1, "non-verack message before version handshake"); + LogPrint(BCLog::NET, "Unsupported message \"%s\" prior to verack from peer=%d\n", SanitizeString(msg_type), pfrom.GetId()); return; }