aboutsummaryrefslogtreecommitdiff
path: root/src/script/script_error.cpp
diff options
context:
space:
mode:
authorJohnson Lau <[email protected]>2016-09-22 15:06:54 +0800
committerJohnson Lau <[email protected]>2016-09-27 23:40:59 +0800
commite41bd449ab2b8d01260795383af2c40b659d8587 (patch)
treeec0bc7f8b5624774199b09072fdcee0ed66f6122 /src/script/script_error.cpp
parentMerge #8526: Make non-minimal OP_IF/NOTIF argument non-standard for P2WSH (diff)
downloaddiscoin-e41bd449ab2b8d01260795383af2c40b659d8587.tar.xz
discoin-e41bd449ab2b8d01260795383af2c40b659d8587.zip
Add policy: null signature for failed CHECK(MULTI)SIG
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: