-
The majority = (len(nodes) + 1) // 2 This logic isn't accurate for networks with an even number of nodes, right (disregarding how common such network configurations are)? If I'm not mistaken, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Well spotted! As I've fixed this in #3820. |
Beta Was this translation helpful? Give feedback.
Well spotted! As
heath_watcher.py
mostly is a sample script, we don't test in a wide range of scenarios and network configuration, so thank you very much for raising this.I've fixed this in #3820.