Skip to content

Commit 675e55e

Browse files
committed
Ignore unknown messages before VERACK
1 parent 1cf73fb commit 675e55e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/net_processing.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2585,8 +2585,7 @@ void PeerLogicValidation::ProcessMessage(CNode& pfrom, const std::string& msg_ty
25852585
}
25862586

25872587
if (!pfrom.fSuccessfullyConnected) {
2588-
// Must have a verack message before anything else
2589-
Misbehaving(pfrom.GetId(), 1, "non-verack message before version handshake");
2588+
LogPrint(BCLog::NET, "Unsupported message \"%s\" prior to verack from peer=%d\n", SanitizeString(msg_type), pfrom.GetId());
25902589
return;
25912590
}
25922591

0 commit comments

Comments
 (0)