hub/scribe/error/base.py

10 lines
142 B
Python
Raw Normal View History

2022-03-08 17:01:19 +01:00
from binascii import hexlify
def claim_id(claim_hash):
return hexlify(claim_hash[::-1]).decode()
class BaseError(Exception):
pass