File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,10 @@ void CActiveMasternode::ManageState()
40
40
if (eType == MASTERNODE_REMOTE) {
41
41
ManageStateRemote ();
42
42
} else if (eType == MASTERNODE_LOCAL) {
43
- ManageStateLocal ();
43
+ // Try Remote Start first so the started local masternode can be restarted without recreate masternode broadcast.
44
+ ManageStateRemote ();
45
+ if (nState != ACTIVE_MASTERNODE_STARTED)
46
+ ManageStateLocal ();
44
47
}
45
48
46
49
SendMasternodePing ();
@@ -301,9 +304,6 @@ void CActiveMasternode::ManageStateLocal()
301
304
fPingerEnabled = true ;
302
305
nState = ACTIVE_MASTERNODE_STARTED;
303
306
304
- masternode_info_t infoMn = mnodeman.GetMasternodeInfo (pubKeyMasternode);
305
- if (infoMn.fInfoValid && CMasternode::IsValidStateForAutoStart (infoMn.nActiveState )) return ; // sending ping should be enough
306
-
307
307
// update to masternode list
308
308
LogPrintf (" CActiveMasternode::ManageStateLocal -- Update Masternode List\n " );
309
309
mnodeman.UpdateMasternodeList (mnb);
You can’t perform that action at this time.
0 commit comments