Skip to content

Commit

Permalink
Merge pull request #773 from thelazier/patch-1
Browse files Browse the repository at this point in the history
Fix Hot Masternode
  • Loading branch information
schinzelh committed May 10, 2016
2 parents feabb14 + 56adee2 commit e5bcd05
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/activemasternode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,11 @@ void CActiveMasternode::ManageStatus()

LogPrintf("CActiveMasternode::ManageStatus() - Checking inbound connection to '%s'\n", service.ToString());

CNode *pnode = ConnectNode((CAddress)service, NULL, false);
if(!pnode){
if(!ConnectNode((CAddress)service, NULL, true)){
notCapableReason = "Could not connect to " + service.ToString();
LogPrintf("CActiveMasternode::ManageStatus() - not capable: %s\n", notCapableReason);
return;
}
pnode->Release();

// Choose coins to use
CPubKey pubKeyCollateralAddress;
Expand Down

0 comments on commit e5bcd05

Please sign in to comment.