aboutsummaryrefslogtreecommitdiff
path: root/src/script/script_error.cpp
diff options
context:
space:
mode:
authorJohnson Lau <jl2012@xbt.hk>2016-09-23 13:06:45 +0800
committerJohnson Lau <jl2012@xbt.hk>2016-09-23 13:07:38 +0800
commitc72c5b1e3bd42e84465677e94aa83316ff3d9a14 (patch)
tree4b53ce9d63e5292b79e4699437ab69d38d17bcbd /src/script/script_error.cpp
parent2b514aa2eae61839ad162b2f6e5ba69ef96c5c97 (diff)
downloadbitcoin-c72c5b1e3bd42e84465677e94aa83316ff3d9a14.tar.xz
Make non-minimal OP_IF/NOTIF argument non-standard for P2WSH
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 cef807edcf..9969c232fc 100644
--- a/src/script/script_error.cpp
+++ b/src/script/script_error.cpp
@@ -63,6 +63,8 @@ const char* ScriptErrorString(const ScriptError serror)
return "Non-canonical signature: S value is unnecessarily high";
case SCRIPT_ERR_SIG_NULLDUMMY:
return "Dummy CHECKMULTISIG argument must be zero";
+ case SCRIPT_ERR_MINIMALIF:
+ return "OP_IF/NOTIF argument must be minimal";
case SCRIPT_ERR_DISCOURAGE_UPGRADABLE_NOPS:
return "NOPx reserved for soft-fork upgrades";
case SCRIPT_ERR_DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM: