Final cleanup work to complete T61.
Details
Details
- Reviewers
deadalnix schancel - Group Reviewers
Restricted Project - Commits
- rSTAGING34326d640836: Cleaned up last usages of nHashType
rABC34326d640836: Cleaned up last usages of nHashType
make check
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- master
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 1649 Build 1649: arc lint + arc unit
Event Timeline
src/test/sighash_tests.cpp | ||
---|---|---|
145 ↗ | (On Diff #2566) | Keep the raw integer in here. You don't want SigHashType involved at all on this codepath. This ensures no information is lost in the process. |
src/test/sighash_tests.cpp | ||
---|---|---|
145 ↗ | (On Diff #2566) | Fair point. I reverted all changes in this function, since it didn't make sense to keep sigHashType and nHashType side-by-side. Not to mention it wouldn't make sense to call RandomTransaction() using sigHashType for the same reason as you stated for SignatureHashOld(). |