EIP-2929: only add params.address to access list

This commit is contained in:
Wei Tang 2021-04-15 15:00:44 +02:00 committed by rakita
parent 0fd7c59724
commit a716eb3871

View File

@ -240,7 +240,6 @@ impl<'a> CallCreateExecutive<'a> {
if schedule.eip2929 { if schedule.eip2929 {
let mut substate = Substate::from_access_list(&params.access_list); let mut substate = Substate::from_access_list(&params.access_list);
substate.access_list.insert_address(params.address); substate.access_list.insert_address(params.address);
substate.access_list.insert_address(params.sender);
substate substate
} else { } else {
Substate::default() Substate::default()