Skip to content

Commit

Permalink
reconsider prevout for sigma
Browse files Browse the repository at this point in the history
  • Loading branch information
mattt21 committed May 6, 2019
1 parent 1f89dc0 commit fc3224e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1177,7 +1177,7 @@ bool CheckTransaction(
return state.DoS(100, false, REJECT_INVALID, "bad-cb-length");
} else {
BOOST_FOREACH(const CTxIn &txin, tx.vin) {
if (txin.prevout.IsNull() && !txin.scriptSig.IsZerocoinSpend() && !txin.scriptSig.IsZerocoinSpendV3()) {
if (txin.prevout.IsNull() && !txin.scriptSig.IsZerocoinSpend()) {
return state.DoS(10, false, REJECT_INVALID, "bad-txns-prevout-null");
}
}
Expand Down

0 comments on commit fc3224e

Please sign in to comment.