mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
Force self-recheck on CActiveMasternode::ManageStateRemote() (#1441)
(otherwise code below could fail if we received new mnb right after latest check and thus our MN will not start)
This commit is contained in:
parent
a12491448d
commit
549b659e8c
@ -231,7 +231,7 @@ void CActiveMasternode::ManageStateRemote()
|
||||
LogPrint("masternode", "CActiveMasternode::ManageStateRemote -- Start status = %s, type = %s, pinger enabled = %d, pubKeyMasternode.GetID() = %s\n",
|
||||
GetStatus(), GetTypeString(), fPingerEnabled, pubKeyMasternode.GetID().ToString());
|
||||
|
||||
mnodeman.CheckMasternode(pubKeyMasternode);
|
||||
mnodeman.CheckMasternode(pubKeyMasternode, true);
|
||||
masternode_info_t infoMn = mnodeman.GetMasternodeInfo(pubKeyMasternode);
|
||||
if(infoMn.fInfoValid) {
|
||||
if(infoMn.nProtocolVersion != PROTOCOL_VERSION) {
|
||||
|
Loading…
Reference in New Issue
Block a user