@property
    def last_lock(self):
        "highest lock on height"
        rs = list(self.rounds)
        assert len(rs) < 2 or rs[1] > rs[0]  # FIXME REMOVE
        for r in self.rounds:  # is sorted highest to lowest
            if self.rounds[r].lock is not None:
                return self.rounds[r].lock
dataset/ETHPy150Open HydraChain/hydrachain/hydrachain/consensus/manager.py/HeightManager.last_lock/swapped operands of `>`