log -> log2

This commit is contained in:
vbuterin 2019-08-02 09:49:35 -04:00 committed by GitHub
parent c8d128aa59
commit 6138edc5be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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`