cjdelisle/cjdns — pull request #541 by Arceliar (2014-05-21 14:12:24+00:00)
Title: Slightly more correct buckets

1 line change.

Instead of directly comparing reach for two nodes when deciding which to protect, use whichIsWorse. It's basically the same thing, modulo nodes with different versions, but it's more consistent to do it this way considering the other checks being done when finding the worst node in the NodeStore.