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 Passed - Unit
No Test Coverage - Build Status
Buildable 18757 Build 37305: Build Diff build-debug · build-clang-tidy · build-diff · build-without-wallet · build-clang Build 37304: arc lint + arc unit