Skip to content

Commit

Permalink
explicitly use Optiona type for fork_version in compute_domain
Browse files Browse the repository at this point in the history
Co-Authored-By: Carl Beekhuizen <carl@ethereum.org>
  • Loading branch information
djrtwo and CarlBeek committed Jan 22, 2020
1 parent cf18b04 commit a8a8018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/phase0/beacon-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ def compute_activation_exit_epoch(epoch: Epoch) -> Epoch:
#### `compute_domain`

```python
def compute_domain(domain_type: DomainType, fork_version: Version=None) -> Domain:
def compute_domain(domain_type: DomainType, fork_version: Optional[Version]=None) -> Domain:
"""
Return the domain for the ``domain_type`` and ``fork_version``.
"""
Expand Down

0 comments on commit a8a8018

Please sign in to comment.