mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 18:24:59 -05:00
log -> log2
This commit is contained in:
@@ -153,7 +153,7 @@ def get_generalized_index_length(index: GeneralizedIndex) -> int:
|
||||
"""
|
||||
Returns the length of a path represented by a generalized index.
|
||||
"""
|
||||
return log(index)
|
||||
return log2(index)
|
||||
```
|
||||
|
||||
#### `get_generalized_index_bit`
|
||||
|
||||
Reference in New Issue
Block a user