diff options
author | Johnson Lau <jl2012@xbt.hk> | 2016-10-02 01:19:33 +0800 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-10-17 14:10:58 +0200 |
commit | 821f3e67510b9ea0b5c7b79d162daf5f0f075462 (patch) | |
tree | 2bf532aa805200ed14248a62457c8087c4b05a1c /src/test/script_tests.cpp | |
parent | 540413d9958fd253d4bf99858db431164db275e1 (diff) | |
download | bitcoin-821f3e67510b9ea0b5c7b79d162daf5f0f075462.tar.xz |
Require compressed keys in segwit as policy and disable signing with uncompressed keys for segwit scripts
Github-Pull: #8499
Rebased-From: 4c0c25a604cec39675187507df423cff5d707ab5
Diffstat (limited to 'src/test/script_tests.cpp')
-rw-r--r-- | src/test/script_tests.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp index 836ef734dd..68a9991e7d 100644 --- a/src/test/script_tests.cpp +++ b/src/test/script_tests.cpp @@ -99,6 +99,7 @@ static ScriptErrorDesc script_errors[]={ {SCRIPT_ERR_WITNESS_MALLEATED, "WITNESS_MALLEATED"}, {SCRIPT_ERR_WITNESS_MALLEATED_P2SH, "WITNESS_MALLEATED_P2SH"}, {SCRIPT_ERR_WITNESS_UNEXPECTED, "WITNESS_UNEXPECTED"}, + {SCRIPT_ERR_WITNESS_PUBKEYTYPE, "WITNESS_PUBKEYTYPE"}, }; const char *FormatScriptError(ScriptError_t err) |