diff options
author | Johnson Lau <jl2012@users.noreply.github.com> | 2016-09-22 15:06:54 +0800 |
---|---|---|
committer | Johnson Lau <jl2012@xbt.hk> | 2016-09-27 23:40:59 +0800 |
commit | e41bd449ab2b8d01260795383af2c40b659d8587 (patch) | |
tree | ec0bc7f8b5624774199b09072fdcee0ed66f6122 /src/script/script_error.cpp | |
parent | 5a4f6d72e6154d21eb34fbbc8d7c099532569966 (diff) |
Add policy: null signature for failed CHECK(MULTI)SIG
Diffstat (limited to 'src/script/script_error.cpp')
-rw-r--r-- | src/script/script_error.cpp | 2 |
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: |