message: [Wallet] Remove extra checks before GetBlocksToMaturity
diff: @@ -1237,7 +1237,7 @@ CAmount CWalletTx::GetCredit(const isminefilter& filter) const
  CAmount CWalletTx::GetImmatureCredit(bool fUseCache, const isminefilter& filter) const
  {
  LOCK(cs_main);
  - if ((IsCoinBase() || IsCoinStake()) && GetBlocksToMaturity() > 0 && IsInMainChain()) {
  + if (GetBlocksToMaturity() > 0 && IsInMainChain()) {
  if (fUseCache && fImmatureCreditCached && filter == ISMINE_SPENDABLE_ALL)
  return nImmatureCreditCached;
  nImmatureCreditCached = pwallet->GetCredit(*this, filter);
  