hub/scribe/error/base.py
Jack Robison ca2ca23892
cleanup
2022-03-24 12:54:22 -04:00

13 lines
218 B
Python

from binascii import hexlify
def claim_id(claim_hash):
return hexlify(claim_hash[::-1]).decode()
class BaseError(Exception):
pass
class ChainError(Exception):
"""Raised on error processing blocks."""