fix typo: `get_shard_proposer_index` vs `get_shard_proposer`
This commit is contained in:
parent
ee360df689
commit
47e52a6361
|
@ -728,7 +728,7 @@ def charge_confirmed_header_fees(state: BeaconState) -> None:
|
||||||
candidate = confirmed_candidates[0]
|
candidate = confirmed_candidates[0]
|
||||||
|
|
||||||
# Charge EIP 1559 fee
|
# Charge EIP 1559 fee
|
||||||
proposer = get_shard_proposer(state, slot, shard)
|
proposer = get_shard_proposer_index(state, slot, shard)
|
||||||
fee = (
|
fee = (
|
||||||
(state.shard_gasprice * candidate.commitment.length)
|
(state.shard_gasprice * candidate.commitment.length)
|
||||||
// TARGET_SAMPLES_PER_BLOCK
|
// TARGET_SAMPLES_PER_BLOCK
|
||||||
|
|
Loading…
Reference in New Issue