Fix typo with missing bracket (#379)
This commit is contained in:
parent
8f29bcdf08
commit
d49b6e5087
|
@ -449,7 +449,7 @@ Where the inner `hash_tree_root` is a recursive application of the tree-hashing
|
||||||
Recursively tree hash the values in the container in the same order as the fields, and return the hash of the concatenation of the results.
|
Recursively tree hash the values in the container in the same order as the fields, and return the hash of the concatenation of the results.
|
||||||
|
|
||||||
```python
|
```python
|
||||||
return hash(b''.join([hash_tree_root(getattr(x, field)) for field in value.fields))
|
return hash(b''.join([hash_tree_root(getattr(x, field)) for field in value.fields]))
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue