mirror of
https://github.com/wownero/wownero.git
synced 2026-10-17 15:41:44 +02: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)