The create_coinbase function already calls CTransaction.calc_sha256() immediately prior to returning the transaction, so it is not necessary to call CTransaction.rehash() if the transaction is not modified.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABCf2403c070739: [test] remove unnecessary transaction rehashing
test/functional/test_runner.py abc*
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable