message: cleanup: GetLastPaid clean unneeded direct chainActive access for GetChainTip() method.
diff: @@ -246,8 +246,8 @@ int64_t CMasternode::SecondsSincePayment()
  int64_t CMasternode::GetLastPaid()
  {
  - CBlockIndex* pindexPrev = chainActive.Tip();
  - if (pindexPrev == NULL) return false;
  + const CBlockIndex* BlockReading = GetChainTip();
  + if (BlockReading == nullptr) return false;
  CScript mnpayee;
  mnpayee = GetScriptForDestination(pubKeyCollateralAddress.GetID());
  @@ -260,10 +260,6 @@ int64_t CMasternode::GetLastPaid()
  // use a deterministic offset to break a tie -- 2.5 minutes
  int64_t nOffset = hash.GetCompact(false) % 150;
  - if (chainActive.Tip() == NULL) return false;
  -
  - const CBlockIndex* BlockReading = chainActive.Tip();
  -
  int nMnCount = mnodeman.CountEnabled() * 1.25;
  int n = 0;
  for (unsigned int i = 1; BlockReading && BlockReading->nHeight > 0; i++) {
  