netbase: remove unnecessary log message

see https://github.com/bitcoin/bitcoin/pull/27375#issuecomment-1994498888
This commit is contained in:
Matthew Zipkin 2024-03-13 10:24:29 -04:00
parent a85e5a7c9a
commit c70e4fc9a3
No known key found for this signature in database
GPG key ID: E7E2984B6289C93A

View file

@ -624,7 +624,6 @@ std::unique_ptr<Sock> ConnectDirectly(const CService& dest, bool manual_connecti
}
if (!ConnectToSocket(*sock, (struct sockaddr*)&sockaddr, len, dest.ToStringAddrPort(), manual_connection)) {
LogPrintf("Cannot connect to socket for %s\n", dest.ToStringAddrPort());
return {};
}