fix typo: `get_shard_proposer_index` vs `get_shard_proposer`

This commit is contained in:
ericsson 2021-04-24 17:32:05 +03:00
parent ee360df689
commit 47e52a6361
1 changed files with 1 additions and 1 deletions

View File

@ -728,7 +728,7 @@ def charge_confirmed_header_fees(state: BeaconState) -> None:
candidate = confirmed_candidates[0]
# Charge EIP 1559 fee
proposer = get_shard_proposer(state, slot, shard)
proposer = get_shard_proposer_index(state, slot, shard)
fee = (
(state.shard_gasprice * candidate.commitment.length)
// TARGET_SAMPLES_PER_BLOCK