Fix compile

This commit is contained in:
Wei Tang 2021-04-15 16:34:34 +02:00 committed by rakita
parent 5709dbc3e0
commit 4bffab6715

View File

@ -1146,7 +1146,7 @@ impl<'a, B: 'a + StateBackend> Executive<'a, B> {
if schedule.eip2929 { if schedule.eip2929 {
for (address, builtin) in self.machine.builtins() { for (address, builtin) in self.machine.builtins() {
if builtin.is_active() { if builtin.is_active(self.info.number) {
access_list.insert_address(*address); access_list.insert_address(*address);
} }
} }