The parsing function returns the staker address. It's very possible that there is no address for the winner, so avoid crashing the app if this happens.
This diff lets the parsing return the script hex instead, and the callsite attempt to convert it to address so it will make no difference with the current network state.
Details
Details
- Reviewers
PiRK - Group Reviewers
Restricted Project - Commits
- rABC4a1e75ee7025: [herald] Fix parsing of the staking reward winner
npm test
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable