lbry-sdk/lbry/error/base.py

9 lines
142 B
Python

from binascii import hexlify
def claim_id(claim_hash):
return hexlify(claim_hash[::-1]).decode()
class BaseError(Exception):
pass