Skip to content

Commit

Permalink
revert some checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mattt21 committed May 7, 2019
1 parent fc3224e commit f1ddc35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,7 @@ bool AcceptToMemoryPoolWorker(
view.SetBackend(dummy);
} // LOCK

if (!tx.IsZerocoinSpend() && !tx.IsZerocoinSpendV3() && fCheckInputs) {
if (!tx.IsZerocoinSpend() && fCheckInputs) {

// Check for non-standard pay-to-script-hash in inputs
if (!fTestNet && fRequireStandard && !AreInputsStandard(tx, view)) {
Expand Down
2 changes: 1 addition & 1 deletion src/primitives/transaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ double CTransaction::ComputePriority(double dPriorityInputs, unsigned int nTxSiz

bool CTransaction::IsCoinBase() const
{
return (vin.size() == 1 && vin[0].prevout.IsNull() && (vin[0].scriptSig.size() == 0 || (vin[0].scriptSig[0] != OP_ZEROCOINSPEND && vin[0].scriptSig[0] != OP_ZEROCOINSPENDV3)));
return (vin.size() == 1 && vin[0].prevout.IsNull() && (vin[0].scriptSig.size() == 0 || vin[0].scriptSig[0] != OP_ZEROCOINSPEND));
}

bool CTransaction::IsZerocoinSpend() const
Expand Down

0 comments on commit f1ddc35

Please sign in to comment.