mirror of
https://github.com/wownero/wownero.git
synced 2026-12-02 22:23:53 +01:00
Deferencing the result of `std::max_element()` when `res.connections` has 0 elements leads to UB, and segfaults in practice. Co-authored-by: iamamyth <user@example.com> (cherry picked from commit 7c543c82205c3522510e8da616edc795922ce9f3)