From 8ef43586950b422d71fe08e7121827cf87f902c3 Mon Sep 17 00:00:00 2001 From: Yannis <60526252+iamexe@users.noreply.github.com> Date: Thu, 22 Dec 2022 11:31:46 +0100 Subject: [PATCH] Update __init__.py Correct typo in error message. --- merkletools/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/merkletools/__init__.py b/merkletools/__init__.py index a1b338b..e95a28c 100644 --- a/merkletools/__init__.py +++ b/merkletools/__init__.py @@ -18,7 +18,7 @@ def __init__(self, hash_type="sha256"): 'sha3_256', 'sha3_224', 'sha3_384', 'sha3_512']: self.hash_function = getattr(hashlib, hash_type) else: - raise Exception('`hash_type` {} nor supported'.format(hash_type)) + raise Exception('`hash_type` {} not supported'.format(hash_type)) self.reset_tree()