Fixes wrong log messase

This commit is contained in:
Sergi Delgado Segura
2020-01-15 15:41:57 +01:00
parent b0bcffd825
commit 3d4ed28c8b

View File

@@ -4,6 +4,6 @@ import re
class Blob:
def __init__(self, data):
if type(data) is not str or re.search(r"^[0-9A-Fa-f]+$", data) is None:
raise ValueError("Non-Hex character found in txid.")
raise ValueError("Non-Hex character found in transaction.")
self.data = data