From 979fa38ae8a7e2ebdba82a993baa0e1cde3fb639 Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Tue, 27 Aug 2019 20:10:55 +0800 Subject: [PATCH] fix linter error --- specs/core/1_beacon-chain-misc.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/specs/core/1_beacon-chain-misc.md b/specs/core/1_beacon-chain-misc.md index 35a58e53b..5bb0f6da0 100644 --- a/specs/core/1_beacon-chain-misc.md +++ b/specs/core/1_beacon-chain-misc.md @@ -147,7 +147,10 @@ def process_shard_receipt_proof(state: BeaconState, receipt_proof: ShardReceiptP Processes a ShardReceipt object. """ SHARD_SLOTS_PER_EPOCH = SHARD_SLOTS_PER_BEACON_SLOT * SLOTS_PER_EPOCH - receipt_slot = state.next_shard_receipt_period[receipt_proof.shard] * SHARD_SLOTS_PER_BEACON_SLOT * SLOTS_PER_EPOCH * EPOCHS_PER_SHARD_PERIOD + receipt_slot = ( + state.next_shard_receipt_period[receipt_proof.shard] * + SHARD_SLOTS_PER_BEACON_SLOT * SLOTS_PER_EPOCH * EPOCHS_PER_SHARD_PERIOD + ) first_slot_in_last_crosslink = state.current_crosslinks[receipt_proof.shard].start_epoch * SHARD_SLOTS_PER_EPOCH gindex = concat_generalized_indices( get_generalized_index_of_crosslink_header(0),