From 9b7d94f07babca4bbd1359e4b9276759af0704d0 Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Mon, 28 Jan 2019 18:31:13 +0000 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: JustinDrake --- specs/core/0_beacon-chain.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index 6a04eb2fb..bb5a0b850 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -361,7 +361,7 @@ The following data structures are defined as [SimpleSerialize (SSZ)](https://git # Attestation data 'data': AttestationData, # Custody bit - 'custody_bit': bool, + 'custody_bit': 'bool', } ``` @@ -1624,7 +1624,7 @@ For each `attestation` in `block.body.attestations`: hash_tree_root(AttestationDataAndCustodyBit(data=attestation.data, custody_bit=0b1)), ], signature=attestation.aggregate_signature, - domain=get_domain(state.fork, attestation.data.slot, DOMAIN_ATTESTATION), + domain=get_domain(state.fork, slot_to_epoch(attestation.data.slot), DOMAIN_ATTESTATION), ) ```