message: Enable inputs checking for local sigma spend
diff: @@ -3399,12 +3399,12 @@ void CWallet::CommitTransaction(CWalletTx& tx)
  bool zeroSpend = tx.IsZerocoinSpend() || tx.IsZerocoinSpendV3();
  CValidationState state;
  - if (!tx.AcceptToMemoryPool(false, maxTxFee, state, !zeroSpend, zeroSpend)) {
  + if (!tx.AcceptToMemoryPool(false, maxTxFee, state, !tx.IsZerocoinSpend(), zeroSpend)) {
  LogPrintf("CommitTransaction(): Transaction cannot be broadcast immediately, %s\n", state.GetRejectReason());
  // TODO: if we expect the failure to be long term or permanent, instead delete wtx from the wallet and return failure.
  } else {
  LogPrintf("Successfully accepted txn %s to mempool/stempool, relaying!\n", tx.GetHash().ToString());
  - tx.RelayWalletTransaction(!zeroSpend);
  + tx.RelayWalletTransaction(!tx.IsZerocoinSpend());
  }
  }
  }
  @@ -5589,13 +5589,13 @@ bool CWallet::CommitZerocoinSpendTransaction(CWalletTx &wtxNew, CReserveKey &res
  if (fBroadcastTransactions) {
  CValidationState state;
  // Broadcast
  - if (!wtxNew.AcceptToMemoryPool(false, maxTxFee, state, false, true)) {
  + if (!wtxNew.AcceptToMemoryPool(false, maxTxFee, state, wtxNew.IsZerocoinSpendV3(), true)) {
  LogPrintf("CommitZerocoinSpendTransaction(): Transaction cannot be broadcast immediately, %s\n",
  state.GetRejectReason());
  // TODO: if we expect the failure to be long term or permanent,
  // instead delete wtx from the wallet and return failure.
  } else {
  - wtxNew.RelayWalletTransaction(false);
  + wtxNew.RelayWalletTransaction(wtxNew.IsZerocoinSpendV3());
  }
  }
  }
  