Commit 5588c241 authored by Mark Tyneway's avatar Mark Tyneway Committed by GitHub

Merge pull request #1337 from ethereum-optimism/l2geth/state-manager-style

l2geth: small style fix to the state manager precompile
parents 9d235983 a8e37aac
---
'@eth-optimism/l2geth': patch
---
Style fix to the ovm state manager precompile
...@@ -39,8 +39,7 @@ func callStateManager(input []byte, evm *EVM, contract *Contract) (ret []byte, e ...@@ -39,8 +39,7 @@ func callStateManager(input []byte, evm *EVM, contract *Contract) (ret []byte, e
} }
var inputArgs = make(map[string]interface{}) var inputArgs = make(map[string]interface{})
err = method.Inputs.UnpackIntoMap(inputArgs, input[4:]) if err := method.Inputs.UnpackIntoMap(inputArgs, input[4:]); err != nil {
if err != nil {
return nil, err return nil, err
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment