MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / set_success

Function set_success

src/script/interpreter.cpp:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28namespace {
29
30inline bool set_success(ScriptError* ret)
31{
32 if (ret)
33 *ret = SCRIPT_ERR_OK;
34 return true;
35}
36
37inline bool set_error(ScriptError* ret, const ScriptError serror)
38{

Callers 4

EvalScriptFunction · 0.85
ExecuteWitnessScriptFunction · 0.85
VerifyWitnessProgramFunction · 0.85
VerifyScriptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected