By splitting out the staking rewards we can make the whole function require cs_main instead of having to release the lock. This makes the logic easier to reason about and will make the follow up code more robust.
There is no change in behavior.
Details
Details
- Reviewers
PiRK - Group Reviewers
Restricted Project - Commits
- rABC5f70f208060b: [avalanche] Release the locking requirements in AvalancheFinalizeBlock
ninja check-extended
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable