Rename receipt to request

This commit is contained in:
Justin Traglia 2024-06-10 11:28:54 -05:00
parent 0298370af2
commit 83cb494e31
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ def compute_el_block_hash(spec, payload):
withdrawals_trie_root = compute_trie_root_from_indexed_data(withdrawals_encoded)
if is_post_electra(spec):
requests_encoded = []
requests_encoded += [get_deposit_request_rlp_bytes(receipt) for receipt in payload.deposit_requests]
requests_encoded += [get_deposit_request_rlp_bytes(request) for request in payload.deposit_requests]
requests_encoded += [get_withdrawal_request_rlp_bytes(request) for request in payload.withdrawal_requests]
requests_encoded += [get_consolidation_request_rlp_bytes(request) for request in payload.consolidation_requests]