mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 11:20:45 +00:00
Update eth/gasestimator/gasestimator.go
This commit is contained in:
parent
adc122089e
commit
f15bf89f75
1 changed files with 1 additions and 0 deletions
|
|
@ -264,6 +264,7 @@ func run(ctx context.Context, call *core.Message, opts *Options) (*core.Executio
|
||||||
defer cancel()
|
defer cancel()
|
||||||
|
|
||||||
context.AfterFunc(ctx, evm.Cancel)
|
context.AfterFunc(ctx, evm.Cancel)
|
||||||
|
|
||||||
// Execute the call, returning a wrapped error or the result
|
// Execute the call, returning a wrapped error or the result
|
||||||
result, err := core.ApplyMessage(evm, call, new(core.GasPool).AddGas(math.MaxUint64))
|
result, err := core.ApplyMessage(evm, call, new(core.GasPool).AddGas(math.MaxUint64))
|
||||||
if vmerr := dirtyState.Error(); vmerr != nil {
|
if vmerr := dirtyState.Error(); vmerr != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue