mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
json -> jsonl
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
931c8141f8
commit
2d1f7eb19e
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ func Transition(ctx *cli.Context) error {
|
|||
return NewError(ErrorConfig, fmt.Errorf("failed instantiating tracer: %w", err))
|
||||
}
|
||||
getTracer = func(txIndex int, txHash common.Hash) (vm.EVMLogger, error) {
|
||||
traceFile, err := os.Create(path.Join(baseDir, fmt.Sprintf("trace-%d-%v.json", txIndex, txHash.String())))
|
||||
traceFile, err := os.Create(path.Join(baseDir, fmt.Sprintf("trace-%d-%v.jsonl", txIndex, txHash.String())))
|
||||
if err != nil {
|
||||
return nil, NewError(ErrorIO, fmt.Errorf("failed creating trace-file: %v", err))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue