Skip to content

Commit

Permalink
ConnectSocket -> ConnectSocketDirectly
Browse files Browse the repository at this point in the history
Signed-off-by: Pasta <pasta@dashboost.org>
  • Loading branch information
PastaPastaPasta committed Jan 12, 2020
1 parent 0e7ceed commit 30ff4c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/masternode/activemasternode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void CActiveMasternodeManager::Init()
// Check socket connectivity
LogPrintf("CActiveDeterministicMasternodeManager::Init -- Checking inbound connection to '%s'\n", activeMasternodeInfo.service.ToString());
SOCKET hSocket;
bool fConnected = ConnectSocket(activeMasternodeInfo.service, hSocket, nConnectTimeout) && IsSelectableSocket(hSocket);
bool fConnected = ConnectSocketDirectly(activeMasternodeInfo.service, hSocket, nConnectTimeout) && IsSelectableSocket(hSocket);
CloseSocket(hSocket);

if (!fConnected) {
Expand Down

0 comments on commit 30ff4c7

Please sign in to comment.