tree_ssz: fix extra parens
Co-Authored-By: arnetheduck <arnetheduck@gmail.com>
This commit is contained in:
parent
ea7ad28298
commit
a217e9b32c
|
@ -427,7 +427,7 @@ def merkle_hash(lst):
|
|||
chunkz = [hash(chunkz[i] + chunkz[i+1]) for i in range(0, len(chunkz), 2)]
|
||||
|
||||
# Return hash of root and length data
|
||||
return hash((chunkz[0] + datalen)
|
||||
return hash(chunkz[0] + datalen)
|
||||
```
|
||||
|
||||
To `tree_hash` a list, we simply do:
|
||||
|
|
Loading…
Reference in New Issue