renamings

Co-authored-by: Martin Holst Swende <martin@swende.se>
This commit is contained in:
Sina Mahmoodi
2021-11-03 17:03:55 +01:00
committed by GitHub
parent 60f5734e26
commit 89bac76e0c
3 changed files with 4 additions and 4 deletions

View File

@@ -866,7 +866,7 @@ func (api *API) traceTx(ctx context.Context, message core.Message, txctx *Contex
go func() {
<-deadlineCtx.Done()
if deadlineCtx.Err() == context.DeadlineExceeded {
tracer.(*JSTracer).Stop(errors.New("execution timeout"))
tracer.Stop(errors.New("execution timeout"))
}
}()
defer cancel()