lbry-sdk/lbry/error/base.py

10 lines
142 B
Python
Raw Normal View History

from binascii import hexlify
def claim_id(claim_hash):
return hexlify(claim_hash[::-1]).decode()
2019-11-19 14:13:15 -05:00
class BaseError(Exception):
pass