While reviewing D2007 @jasonbcox raised that there was not test for the
various errors thrown when signrawtransaction is called with an
invalid sighash parameter.
This diff adds a functional test case which check the output of
signrawtransaction against valid sighashes, invalid sighashes and
sighashes missing the FORKID flag.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project - Commits
- rSTAGING04b33e822dd4: Add a test for signrawtransaction with various sighashes parameters
rABC04b33e822dd4: Add a test for signrawtransaction with various sighashes parameters
./test/functional/test_runner.py rpc_signrawtransaction
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable