From 3b96000ce9db26eaa659753d5fa8499940ec59e3 Mon Sep 17 00:00:00 2001 From: Christoph Burgdorf Date: Wed, 17 Oct 2018 13:00:52 +0200 Subject: [PATCH] wip --- eth/tools/fixtures/normalization.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/eth/tools/fixtures/normalization.py b/eth/tools/fixtures/normalization.py index 5553d4a916..89b78657ae 100644 --- a/eth/tools/fixtures/normalization.py +++ b/eth/tools/fixtures/normalization.py @@ -71,8 +71,6 @@ def normalize_bytes(value): return value elif is_text(value) and is_hex(value): return decode_hex(value) - elif is_text(value): - return b'' else: raise TypeError("Value must be either a string or bytes object")