message: [Wallet] Fix zPIV spend when too much mints are selected
diff: @@ -4761,8 +4761,18 @@ bool CWallet::CreateZerocoinSpendTransaction(CAmount nValue, int nSecurityLevel,
  vSelectedMints.emplace_back(mint);
  }
  } else {
  - for (const CZerocoinMint& mint : vSelectedMints)
  + unsigned int mintsCount = 0;
  + for (const CZerocoinMint& mint : vSelectedMints) {
  + if (nValueSelected < nValue) {
  nValueSelected += ZerocoinDenominationToAmount(mint.GetDenomination());
  + mintsCount ++;
  + }
  + else
  + break;
  + }
  + if (mintsCount < vSelectedMints.size()) {
  + vSelectedMints.resize(mintsCount);
  + }
  }
  int nArchived = 0;
  