diff options
| author | Peter Todd <[email protected]> | 2014-03-10 17:36:35 -0400 |
|---|---|---|
| committer | Peter Todd <[email protected]> | 2014-05-08 00:55:01 -0400 |
| commit | 6380180821917c22ecfd89128ee60aae6f4cac33 (patch) | |
| tree | aecc6e95f94e6daf71b887128d23f8d33c4e34ad /src/test/transaction_tests.cpp | |
| parent | Let tx (in)valid tests use any SCRIPT_VERIFY flag (diff) | |
| download | discoin-6380180821917c22ecfd89128ee60aae6f4cac33.tar.xz discoin-6380180821917c22ecfd89128ee60aae6f4cac33.zip | |
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.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/transaction_tests.cpp b/src/test/transaction_tests.cpp index 9edc07ab1..40961cbae 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) |