Make type-inference stable on empty lists/vectors

This commit is contained in:
protolambda
2019-04-18 18:49:38 +10:00
parent aaea74e4bc
commit 972168d695

View File

@@ -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)