mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-19 09:34:21 -05:00
Make type-inference stable on empty lists/vectors
This commit is contained in:
@@ -262,7 +262,6 @@ def infer_type(value):
|
||||
else:
|
||||
raise Exception("Failed to infer type")
|
||||
|
||||
|
||||
def hash_tree_root(value, typ=None):
|
||||
if typ is None:
|
||||
typ = infer_type(value)
|
||||
|
||||
Reference in New Issue
Block a user