aboutsummaryrefslogtreecommitdiff
path: root/src/test/transaction_tests.cpp
diff options
context:
space:
mode:
authorPeter Todd <pete@petertodd.org>2014-03-10 17:36:35 -0400
committerPeter Todd <pete@petertodd.org>2014-05-08 00:55:01 -0400
commit6380180821917c22ecfd89128ee60aae6f4cac33 (patch)
treeaecc6e95f94e6daf71b887128d23f8d33c4e34ad /src/test/transaction_tests.cpp
parent29c17498a5d030f9d0a78cead3fbd37965b3cd40 (diff)
Add rejection of non-null CHECKMULTISIG dummy values
This is a source of transaction mutability as the dummy value was previously not checked and could be modified to something other than the usual OP_0 value.
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 9edc07ab16..40961cbae0 100644
--- a/src/test/transaction_tests.cpp
+++ b/src/test/transaction_tests.cpp
@@ -39,6 +39,7 @@ unsigned int ParseFlags(string strFlags){
mapFlagNames["P2SH"] = SCRIPT_VERIFY_P2SH;
mapFlagNames["STRICTENC"] = SCRIPT_VERIFY_STRICTENC;
mapFlagNames["EVEN_S"] = SCRIPT_VERIFY_EVEN_S;
+ mapFlagNames["NULLDUMMY"] = SCRIPT_VERIFY_NULLDUMMY;
}
BOOST_FOREACH(string word, words)