As far as I can tell, none of the IServer implementations actually implement comparison methods.

This commit is contained in:
Itamar Turner-Trauring 2020-10-02 10:42:05 -04:00
parent 18e1c290a7
commit ade4a5a543

View File

@ -139,7 +139,7 @@ class CiphertextFileNode(object):
for server in servers:
sm.add(shnum, server)
servers_responding.add(server)
servers_responding = sorted(servers_responding)
servers_responding = sorted(servers_responding, key=lambda o: id(o))
good_hosts = len(reduce(set.union, sm.values(), set()))
is_healthy = bool(len(sm) >= verifycap.total_shares)