From b4779cd83dad62f8c2505c96e955fa9d8605bd61 Mon Sep 17 00:00:00 2001 From: Carl Beekhuizen Date: Wed, 6 Mar 2019 08:55:39 -0700 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: djrtwo --- 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 81af1a90e..b0a7ea999 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -447,7 +447,7 @@ The following data structures are defined as [SimpleSerialize (SSZ)](https://git # Sender index 'sender': 'uint64', # Recipient index - 'to': 'uint64', + 'recipient': 'uint64', # Amount in Gwei 'amount': 'uint64', # Fee in Gwei for block proposer @@ -1984,7 +1984,7 @@ def process_transfer(state: BeaconState, transfer: Transfer) -> None: ) # Process the transfer state.validator_balances[transfer.sender] -= transfer.amount + transfer.fee - state.validator_balances[transfer.to] += transfer.amount + state.validator_balances[transfer.recipient] += transfer.amount state.validator_balances[get_beacon_proposer_index(state, state.slot)] += transfer.fee ```