Details
Details
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- ava-heap-overflow
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Event Timeline
src/avalanche/peermanager.cpp | ||
---|---|---|
82 | slots.size() could be end here, and you could simply return NO_PEER instead of a break. In the end the result is the same: after the break you will exit the while loop, jump over the for loop (because end - begin is necessarily <= 0) and return NO_PEER anyway. |