aboutsummaryrefslogtreecommitdiff
path: root/src/script/script_error.cpp
diff options
context:
space:
mode:
authorJohnson Lau <jl2012@users.noreply.github.com>2016-09-22 15:06:54 +0800
committerJohnson Lau <jl2012@xbt.hk>2016-09-27 23:40:59 +0800
commite41bd449ab2b8d01260795383af2c40b659d8587 (patch)
treeec0bc7f8b5624774199b09072fdcee0ed66f6122 /src/script/script_error.cpp
parent5a4f6d72e6154d21eb34fbbc8d7c099532569966 (diff)
downloadbitcoin-e41bd449ab2b8d01260795383af2c40b659d8587.tar.xz
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 9969c232fc..e27b715c2c 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: