Running the units tests with the undefined behaviour sanitizer throws
runtime errors: signed integer overflow in file amount.h.
This is due to the INF_PRIORITY constant, which is no longer used in the
software. It can be safely removed.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Project - Commits
- rSTAGING7cc44b87c1f3: Fix undefined behaviour errors due to long int overflow in Amount
rABC7cc44b87c1f3: Fix undefined behaviour errors due to long int overflow in Amount
Build with the undefined sanitizer enabled then
./src/test/test_bitcoin
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable