From c13421a9a7d13585b0558e1c4a8a0221d97d3c2d Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Wed, 22 May 2019 16:52:44 -0400 Subject: [PATCH] type hinting for fork version Co-Authored-By: Hsiao-Wei Wang --- specs/core/0_beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index c14228dc1..60f774e9a 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -633,7 +633,7 @@ The `hash` function is SHA256. ### `bls_domain` ```python -def bls_domain(domain_type: int, fork_version=b'\x00\x00\x00\x00') -> int: +def bls_domain(domain_type: int, fork_version: bytes=b'\x00\x00\x00\x00') -> int: """ Return the bls domain given by the ``domain_type`` and optional 4 byte ``fork_version`` (defaults to zero). """