mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 09:23:48 +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),
|
input: eth.getRawTransaction(tx),
|
||||||
result: result,
|
result: result,
|
||||||
};
|
};
|
||||||
if (traceConfig) {
|
if (traceConfig && traceConfig.tracerConfig) {
|
||||||
data.tracerConfig = traceConfig;
|
data.tracerConfig = traceConfig.tracerConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
console.log(JSON.stringify(data, null, 2));
|
console.log(JSON.stringify(data, null, 2));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue