mirror of
https://github.com/dashpay/dash.git
synced 2024-12-29 13:59:06 +01:00
bug with masternodes
This commit is contained in:
parent
9ee92ac951
commit
f0a0c7aeef
@ -5924,13 +5924,13 @@ void CDarkSendPool::RegisterAsMasterNode()
|
||||
if(GetMasterNodeVin(vinMasterNode)) {
|
||||
printf("Is capable master node!\n");
|
||||
isCapableMasterNode = true;
|
||||
printf("Adding myself to masternode list %s\n", vinMasterNode.ToString().c_str());
|
||||
CMasterNode mn(addr, vinMasterNode);
|
||||
mn.UpdateLastSeen();
|
||||
darkSendMasterNodes.push_back(mn);
|
||||
}
|
||||
}
|
||||
|
||||
printf("Adding myself to masternode list %s\n", vinMasterNode.ToString().c_str());
|
||||
CMasterNode mn(addr, vinMasterNode);
|
||||
mn.UpdateLastSeen();
|
||||
darkSendMasterNodes.push_back(mn);
|
||||
}
|
||||
|
||||
if(!isCapableMasterNode) return;
|
||||
|
@ -450,7 +450,6 @@ CNode* FindNode(const CService& addr)
|
||||
{
|
||||
LOCK(cs_vNodes);
|
||||
BOOST_FOREACH(CNode* pnode, vNodes){
|
||||
printf(" -- FindNode %s == %s\n", (CService)pnode->addr.ToString().c_str(), addr.ToString().c_str());
|
||||
if ((CService)pnode->addr == addr)
|
||||
return (pnode);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user