diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-07-18 16:57:11 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-07-18 17:19:15 +0200 |
commit | 585db54dd1ae62b45134da0ee7cf230bba46027b (patch) | |
tree | d3cbcd2208a9621916e4ca34330ec6f8e72bf12a /.tx/config | |
parent | 71466726871335d255751256c57ab7ac6c62496a (diff) | |
parent | 417b6c1d2990ffc78c029442e027797d724a101f (diff) |
Merge #13655: bitcoinconsensus: invalid flags error should be set to bitcoinconsensus_err
417b6c1d2990ffc78c029442e027797d724a101f bitcoinconsensus: invalid flags should be set to bitcoinconsensus_error type, add test cases covering bitcoinconsensus error codes (Thomas Kerin)
Pull request description:
A check was added to the bitcoinconsensus verify_script codepath to ensure that callers only used _exposed_ interpreter flags. I think this error should be written to `bitcoinconsensus_err* err` and not returned by verify_script?
I modified the check so it indicates the error using *err like the others, and added tests covering the error codes.
Tree-SHA512: 8ab370e56956a7d4740f83475e6078774affd663ac92383a02b85295da550f1b4f7a7a68f32ed5c5bcb39d98e2f15ec0b76de8399887e7763eb7c1e21d131093
Diffstat (limited to '.tx/config')
0 files changed, 0 insertions, 0 deletions