core/vm/runtime: remove duplicated line (#21956)

This line is duplicated, though it doesn't cause any issues.
This commit is contained in:
Chris Ziogas 2020-12-04 09:54:07 +02:00 committed by GitHub
parent d7a64dc02b
commit 62cedb3aab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,7 +118,6 @@ func Execute(code, input []byte, cfg *Config) ([]byte, *state.StateDB, error) {
cfg.State.AddAddressToAccessList(address)
for _, addr := range vmenv.ActivePrecompiles() {
cfg.State.AddAddressToAccessList(addr)
cfg.State.AddAddressToAccessList(addr)
}
}
cfg.State.CreateAccount(address)