Skip to main content
2 of 2
deleted 162 characters in body; added 1 character in body
morsecoder
  • 14.2k
  • 2
  • 44
  • 94

If the execution of OP_EQUAL gives true, then it does not leave true/false on the stack. If it is false then it leaves false on top of the stack and stops executing.

Bstack.push_back(fEqual ? vchTrue : vchFalse);
if (opcode == OP_EQUALVERIFY)
{
if (fEqual)
    popstack(stack);
else
    return set_error(serror, SCRIPT_ERR_EQUALVERIFY);
}

Source

morsecoder
  • 14.2k
  • 2
  • 44
  • 94