diff --git a/src/script/script_error.cpp b/src/script/script_error.cpp index ff84b30398..9870b150ef 100644 --- a/src/script/script_error.cpp +++ b/src/script/script_error.cpp @@ -87,7 +87,7 @@ std::string ScriptErrorString(const ScriptError serror) case SCRIPT_ERR_PUBKEYTYPE: return "Public key is neither compressed or uncompressed"; case SCRIPT_ERR_CLEANSTACK: - return "Extra items left on stack after execution"; + return "Stack size must be exactly one after execution"; case SCRIPT_ERR_OP_CODESEPARATOR: return "Using OP_CODESEPARATOR"; case SCRIPT_ERR_SIG_FINDANDDELETE: