mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-03 05:05:14 -05:00
tree_ssz: fix extra parens
Co-Authored-By: arnetheduck <arnetheduck@gmail.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user