forked from Bitcoin-ABC/bitcoin-abc
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix comparing wrong blocksize parameter variable
Compiler warning was unfortunately missed, but this seems a clear case of comparing the wrong variable, resulting in a condition which can never be true (unsigned < 0). A functional test is adapted to trigger the invalid value case for `blockmaxsize` and check that the message is produced. Test Plan --------- - `ninja all check-all`
- Loading branch information
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters