From 549b659e8c573f28f51f84f8c9a4f38c81fb6ef5 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Sat, 1 Jul 2017 22:00:40 +0300 Subject: [PATCH] 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) --- src/activemasternode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activemasternode.cpp b/src/activemasternode.cpp index d470381e4b..48b639245d 100644 --- a/src/activemasternode.cpp +++ b/src/activemasternode.cpp @@ -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) {