update nCollateralMinConfBlockHash for local (hot) masternode on mn start (#1689)
This commit is contained in:
parent
f5286b1799
commit
46342b2e8a
@ -308,6 +308,12 @@ void CActiveMasternode::ManageStateLocal(CConnman& connman)
|
||||
return;
|
||||
}
|
||||
|
||||
{
|
||||
LOCK(cs_main);
|
||||
// remember the hash of the block where masternode collateral had minimum required confirmations
|
||||
mnb.nCollateralMinConfBlockHash = chainActive[GetUTXOHeight(outpoint) + Params().GetConsensus().nMasternodeMinimumConfirmations - 1]->GetBlockHash();
|
||||
}
|
||||
|
||||
fPingerEnabled = true;
|
||||
nState = ACTIVE_MASTERNODE_STARTED;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user