From cc18df11851092ed92160e8d010b1d56f6179854 Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Fri, 18 Jan 2019 18:45:15 -0600 Subject: [PATCH] remove unused variable def --- specs/core/0_beacon-chain.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index 5640340b6..ce8c55ea6 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -1363,8 +1363,7 @@ def process_deposit(state: BeaconState, penultimate_custody_reseed_slot=GENESIS_SLOT, ) - # Note: In phase 2 registry indices that has been withdrawn for a long time will be recycled. - index = len(state.validator_registry) + # Note: In phase 2 registry indices that have been withdrawn for a long time will be recycled. state.validator_registry.append(validator) state.validator_balances.append(amount) else: