Fix MN dsee: MN should not update itself in MN list until it activated
This commit is contained in:
parent
91d5f043ca
commit
ae2dec6780
@ -622,7 +622,8 @@ void CMasternodeMan::ProcessMessage(CNode* pfrom, std::string& strCommand, CData
|
||||
|
||||
//search existing Masternode list, this is where we update existing Masternodes with new dsee broadcasts
|
||||
CMasternode* pmn = this->Find(vin);
|
||||
if(pmn != NULL)
|
||||
// if we are masternode but with undefined vin and this dsee is ours (matches our Masternode privkey) then just skip this part
|
||||
if(pmn != NULL && !(fMasterNode && activeMasternode.vin == CTxIn() && pubkey2 == activeMasternode.pubKeyMasternode))
|
||||
{
|
||||
// count == -1 when it's a new entry
|
||||
// e.g. We don't want the entry relayed/time updated when we're syncing the list
|
||||
|
Loading…
Reference in New Issue
Block a user