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 ```