forked from forks/go-ethereum
internal/ethapi: return vmError()
This commit is contained in:
parent
fbdc6bba66
commit
9f8a0b597e
1 changed files with 1 additions and 1 deletions
|
|
@ -868,7 +868,7 @@ func DoCall(ctx context.Context, b Backend, args CallArgs, blockNrOrHash rpc.Blo
|
|||
return nil, fmt.Errorf("execution reverted: %v", reason)
|
||||
}
|
||||
}
|
||||
return result, result.Err
|
||||
return result, err
|
||||
}
|
||||
|
||||
// Call executes the given transaction on the state for the given block number.
|
||||
|
|
|
|||
Loading…
Reference in a new issue