def short_hex(bytes):
    t = bytes.encode('hex_codec')
    if 11 < len(t):
        return t
    return t[0:4]+"..."+t[-4:]
dataset/ETHPy150Open bitxbay/BitXBay/deserialize.py/short_hex/swapped operands of `<`