mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
eth/tracers: extract traceConfig.tracerConfig
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
61340a0ae8
commit
b058b18430
1 changed files with 2 additions and 3 deletions
|
|
@ -69,10 +69,9 @@ var makeTest = function(tx, traceConfig) {
|
|||
input: eth.getRawTransaction(tx),
|
||||
result: result,
|
||||
};
|
||||
if (traceConfig) {
|
||||
data.tracerConfig = traceConfig;
|
||||
if (traceConfig && traceConfig.tracerConfig) {
|
||||
data.tracerConfig = traceConfig.tracerConfig;
|
||||
}
|
||||
|
||||
|
||||
console.log(JSON.stringify(data, null, 2));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue