mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-08 22:28:12 -05:00
smt.py: add missing check for position
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user