message: Use correct params for spend when checking serial in miner.
diff: @@ -357,7 +357,8 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn, CWallet* pwallet,
  for (const CTxIn txIn : tx.vin) {
  if (txIn.scriptSig.IsZerocoinSpend()) {
  libzerocoin::CoinSpend spend = TxInToZerocoinSpend(txIn);
  - if (!spend.HasValidSerial(Params().Zerocoin_Params(false)))
  + bool fUseV1Params = libzerocoin::ExtractVersionFromSerial(spend.getCoinSerialNumber()) < libzerocoin::PrivateCoin::PUBKEY_VERSION;
  + if (!spend.HasValidSerial(Params().Zerocoin_Params(fUseV1Params)))
  fDoubleSerial = true;
  if (count(vBlockSerials.begin(), vBlockSerials.end(), spend.getCoinSerialNumber()))
  fDoubleSerial = true;
  