mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-11 15:48:05 +00:00
remove an unneded .c_str() in OpenNetworkConnection()
This commit is contained in:
parent
cdb4193a31
commit
f469f79ff8
@ -1478,7 +1478,7 @@ bool OpenNetworkConnection(const CAddress& addrConnect, CSemaphoreGrant *grantOu
|
||||
if (!pszDest) {
|
||||
if (IsLocal(addrConnect) ||
|
||||
FindNode((CNetAddr)addrConnect) || CNode::IsBanned(addrConnect) ||
|
||||
FindNode(addrConnect.ToStringIPPort().c_str()))
|
||||
FindNode(addrConnect.ToStringIPPort()))
|
||||
return false;
|
||||
} else if (FindNode(pszDest))
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user