mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 21:56:43 +00:00
print timeout in tracer config
This commit is contained in:
parent
12201c33e6
commit
fda39936ad
1 changed files with 1 additions and 0 deletions
|
|
@ -1032,6 +1032,7 @@ func (api *API) traceTx(ctx context.Context, tx *types.Transaction, message *cor
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
fmt.Printf("[JEREMYDEBUG] In traceTx, timeout: %d\n", timeout)
|
||||||
deadlineCtx, cancel := context.WithTimeout(ctx, timeout)
|
deadlineCtx, cancel := context.WithTimeout(ctx, timeout)
|
||||||
go func() {
|
go func() {
|
||||||
<-deadlineCtx.Done()
|
<-deadlineCtx.Done()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue