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 20:13:15 +01:00
class BaseError(Exception):
pass