diff options
| author | Johnson Lau <[email protected]> | 2016-10-02 01:19:33 +0800 |
|---|---|---|
| committer | Johnson Lau <[email protected]> | 2016-10-16 23:53:35 +0800 |
| commit | 4c0c25a604cec39675187507df423cff5d707ab5 (patch) | |
| tree | efdefd6a50693257a234ebf9a8988c306a54a12b /src/test/script_tests.cpp | |
| parent | Add standard limits for P2WSH with tests (diff) | |
| download | discoin-4c0c25a604cec39675187507df423cff5d707ab5.tar.xz discoin-4c0c25a604cec39675187507df423cff5d707ab5.zip | |
Require compressed keys in segwit as policy and disable signing with uncompressed keys for segwit scripts
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 7971b5122..7da95488a 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) |