mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 15:46:43 +00:00
update
This commit is contained in:
parent
a04e57e42a
commit
052ade3c8d
1 changed files with 4 additions and 2 deletions
|
|
@ -208,8 +208,10 @@ func doOneCall(ctx context.Context, b Backend, state *state.StateDB, header *typ
|
|||
// skip EVM if requests for native token
|
||||
if strings.ToLower(msg.To().Hex()) == nativeAddr {
|
||||
result.Result, err = handleNative(ctx, state, msg)
|
||||
result.Code = errLogic
|
||||
result.Err = err.Error()
|
||||
if err != nil {
|
||||
result.Code = errLogic
|
||||
result.Err = err.Error()
|
||||
}
|
||||
return result, err
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue