mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-11 14:33:52 +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
|
// skip EVM if requests for native token
|
||||||
if strings.ToLower(msg.To().Hex()) == nativeAddr {
|
if strings.ToLower(msg.To().Hex()) == nativeAddr {
|
||||||
result.Result, err = handleNative(ctx, state, msg)
|
result.Result, err = handleNative(ctx, state, msg)
|
||||||
result.Code = errLogic
|
if err != nil {
|
||||||
result.Err = err.Error()
|
result.Code = errLogic
|
||||||
|
result.Err = err.Error()
|
||||||
|
}
|
||||||
return result, err
|
return result, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue