mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 22:24:23 +01:00
Fixes wrong log messase
This commit is contained in:
@@ -4,6 +4,6 @@ import re
|
|||||||
class Blob:
|
class Blob:
|
||||||
def __init__(self, data):
|
def __init__(self, data):
|
||||||
if type(data) is not str or re.search(r"^[0-9A-Fa-f]+$", data) is None:
|
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
|
self.data = data
|
||||||
|
|||||||
Reference in New Issue
Block a user