smt.py: add missing check for position

This commit is contained in:
zero
2024-03-10 11:25:15 +01:00
parent 1f95e4f53c
commit abc318b096

View File

@@ -98,5 +98,6 @@ for bit, other_node in zip(bits, path):
nodes = (other_node, node) if bit else (node, other_node)
node = hash_node(*nodes)
assert root == node
assert pos == 5
print("Passed")