File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ impl RpcHandler for TraceTransactionRequest {
55
55
let trace_config = if params. len ( ) == 2 {
56
56
serde_json:: from_value ( params[ 1 ] . clone ( ) ) ?
57
57
} else {
58
- TracerConfig :: default ( )
58
+ TraceConfig :: default ( )
59
59
} ;
60
60
61
61
Ok ( TraceTransactionRequest {
@@ -69,16 +69,16 @@ impl RpcHandler for TraceTransactionRequest {
69
69
context : crate :: rpc:: RpcApiContext ,
70
70
) -> Result < serde_json:: Value , crate :: utils:: RpcErr > {
71
71
// This match will make more sense once we support other tracers
72
- match self . tracer_config . tracer {
72
+ match self . trace_config . tracer {
73
73
TracerType :: CallTracer => {
74
74
// Parse tracer config now that we know the type
75
- let config = if let Some ( value) = & self . tracer_config . tracer_config {
75
+ let config = if let Some ( value) = & self . trace_config . tracer_config {
76
76
serde_json:: from_value ( value. clone ( ) ) ?
77
77
} else {
78
78
CallTracerConfig :: default ( )
79
79
} ;
80
- let reexec = self . tracer_config . reexec . unwrap_or ( DEFAULT_REEXEC ) ;
81
- let timeout = self . tracer_config . timeout . unwrap_or ( DEFAULT_TIMEOUT ) ;
80
+ let reexec = self . trace_config . reexec . unwrap_or ( DEFAULT_REEXEC ) ;
81
+ let timeout = self . trace_config . timeout . unwrap_or ( DEFAULT_TIMEOUT ) ;
82
82
let call_trace = context
83
83
. blockchain
84
84
. trace_transaction_calls (
You can’t perform that action at this time.
0 commit comments