forked from jl777/komodo
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Cryptoconditions signature is checked twice in AcceptToMemoryPool()
Here:
if (!ContextualCheckInputs(tx, state, view, true, STANDARD_SCRIPT_VERIFY_FLAGS, true, txdata, Params().GetConsensus(), consensusBranchId, evalcodeChecker))
and here:
if (!ContextualCheckInputs(tx, state, view, true, MANDATORY_SCRIPT_VERIFY_FLAGS, true, txdata, Params().GetConsensus(), consensusBranchId, evalcodeChecker))
I think it was supposed it is checked only at the call when STANDARD_SCRIPT_VERIFY_FLAGS is set when non-cc sigs are checked too.
Fix this to avoid extra processing
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels