aboutsummaryrefslogtreecommitdiff
path: root/src/script/script_error.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2016-09-27 17:43:22 +0200
committerWladimir J. van der Laan <[email protected]>2016-09-27 17:54:05 +0200
commitfc4f4547b7f6ea13d273ad926738fcdffee36295 (patch)
treeec0bc7f8b5624774199b09072fdcee0ed66f6122 /src/script/script_error.cpp
parentMerge #8526: Make non-minimal OP_IF/NOTIF argument non-standard for P2WSH (diff)
parentAdd policy: null signature for failed CHECK(MULTI)SIG (diff)
downloaddiscoin-fc4f4547b7f6ea13d273ad926738fcdffee36295.tar.xz
discoin-fc4f4547b7f6ea13d273ad926738fcdffee36295.zip
Merge #8634: Add policy: null signature for failed CHECK(MULTI)SIG
e41bd44 Add policy: null signature for failed CHECK(MULTI)SIG (Johnson Lau)
Diffstat (limited to 'src/script/script_error.cpp')
-rw-r--r--src/script/script_error.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/script_error.cpp b/src/script/script_error.cpp
index 9969c232f..e27b715c2 100644
--- a/src/script/script_error.cpp
+++ b/src/script/script_error.cpp
@@ -65,6 +65,8 @@ const char* ScriptErrorString(const ScriptError serror)
return "Dummy CHECKMULTISIG argument must be zero";
case SCRIPT_ERR_MINIMALIF:
return "OP_IF/NOTIF argument must be minimal";
+ case SCRIPT_ERR_SIG_NULLFAIL:
+ return "Signature must be zero for failed CHECK(MULTI)SIG operation";
case SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS:
return "NOPx reserved for soft-fork upgrades";
case SCRIPT_ERR_DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM: