fix universalrules error message string encoding
This commit is contained in:
parent
fc0744c0b5
commit
22bd63e8db
@ -30,7 +30,8 @@ class BlockTooLarge(BlockRulesException):
|
||||
def checksum_exists_in_list(checksum: bytes, arr: 'Iterable'):
|
||||
if checksum in arr:
|
||||
raise BlockExistsError(
|
||||
binascii.hexlify(checksum).decode("utf-8") + " Already exists in given set")
|
||||
binascii.hexlify(
|
||||
checksum).decode("utf-8") + " Already exists in given set")
|
||||
|
||||
|
||||
def check_block_sanity(raw_bytes):
|
||||
|
Loading…
Reference in New Issue
Block a user