message: Fix crash for spend when enable address index and spent index
diff: @@ -498,6 +498,10 @@ void CTxMemPool::addAddressIndex(const CTxMemPoolEntry &entry, const CCoinsViewC
  uint256 txhash = tx.GetHash();
  for (unsigned int j = 0; j < tx.vin.size(); j++) {
  const CTxIn input = tx.vin[j];
  + if (input.IsZerocoinSpendV3()) {
  + continue;
  + }
  +
  const CTxOut &prevout = view.GetOutputFor(input);
  if (prevout.scriptPubKey.IsPayToScriptHash()) {
  vector<unsigned char> hashBytes(prevout.scriptPubKey.begin()+2, prevout.scriptPubKey.begin()+22);
  @@ -573,6 +577,10 @@ void CTxMemPool::addSpentIndex(const CTxMemPoolEntry &entry, const CCoinsViewCac
  uint256 txhash = tx.GetHash();
  for (unsigned int j = 0; j < tx.vin.size(); j++) {
  const CTxIn input = tx.vin[j];
  + if (input.IsZerocoinSpendV3()) {
  + continue;
  + }
  +
  const CTxOut &prevout = view.GetOutputFor(input);
  uint160 addressHash;
  AddressType addressType;
  