MCPcopy Create free account
hub / github.com/ElementsProject/elements / set_success

Function set_success

src/script/interpreter.cpp:29–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected