Skip to main content
1 of 2
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.

                stack.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