aboutsummaryrefslogtreecommitdiff
path: root/src/test/transaction_tests.cpp
diff options
context:
space:
mode:
authorJohnson Lau <jl2012@users.noreply.github.com>2016-09-22 15:06:54 +0800
committerWladimir J. van der Laan <laanwj@gmail.com>2016-10-13 20:01:46 +0200
commit3e80ab7f2a338d1bb3d9321c13a18f1324130617 (patch)
tree25cb8185aae70ad6738aff11c573ab4353acea1f /src/test/transaction_tests.cpp
parent0027672c8075d063f376c8c84e1cce77d572d353 (diff)
downloadbitcoin-3e80ab7f2a338d1bb3d9321c13a18f1324130617.tar.xz
Add policy: null signature for failed CHECK(MULTI)SIG
Github-Pull: #8634 Rebased-From: e41bd449ab2b8d01260795383af2c40b659d8587
Diffstat (limited to 'src/test/transaction_tests.cpp')
-rw-r--r--src/test/transaction_tests.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/transaction_tests.cpp b/src/test/transaction_tests.cpp
index 165dfd9a3e..6163d2f630 100644
--- a/src/test/transaction_tests.cpp
+++ b/src/test/transaction_tests.cpp
@@ -51,6 +51,7 @@ static std::map<string, unsigned int> mapFlagNames = boost::assign::map_list_of
(string("DISCOURAGE_UPGRADABLE_NOPS"), (unsigned int)SCRIPT_VERIFY_DISCOURAGE_UPGRADABLE_NOPS)
(string("CLEANSTACK"), (unsigned int)SCRIPT_VERIFY_CLEANSTACK)
(string("MINIMALIF"), (unsigned int)SCRIPT_VERIFY_MINIMALIF)
+ (string("NULLFAIL"), (unsigned int)SCRIPT_VERIFY_NULLFAIL)
(string("CHECKLOCKTIMEVERIFY"), (unsigned int)SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY)
(string("CHECKSEQUENCEVERIFY"), (unsigned int)SCRIPT_VERIFY_CHECKSEQUENCEVERIFY)
(string("WITNESS"), (unsigned int)SCRIPT_VERIFY_WITNESS)