message: GetModifier for regtest zPoS hardcoded to prev block stake modifier
diff: @@ -71,11 +71,18 @@ CAmount CZPivStake::GetValue()
  }
  //Use the first accumulator checkpoint that occurs 60 minutes after the block being staked from
  +// In case of regtest, next accumulator of 60 blocks after the block being staked from
  bool CZPivStake::GetModifier(uint64_t& nStakeModifier)
  {
  CBlockIndex* pindex = GetIndexFrom();
  if (!pindex)
  - return false;
  + return error("%s: failed to get index from", __func__);
  +
  + if(Params().NetworkID() != CBaseChainParams::REGTEST) {
  + // Stake modifier is fixed for now, move it to 60 blocks after this pindex in the future..
  + nStakeModifier = pindexFrom->nStakeModifier;
  + return true;
  + }
  int64_t nTimeBlockFrom = pindex->GetBlockTime();
  while (true) {
  