eth/tracers: extract traceConfig.tracerConfig

Signed-off-by: jsvisa <delweng@gmail.com>
pull/29450/head
jsvisa 7 months ago
parent a825ff6af2
commit 68fd4bff92
  1. 4
      eth/tracers/internal/tracetest/makeTest.js

@ -53,8 +53,8 @@ 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…
Cancel
Save