forked from cerc-io/plugeth
		
	eth/tracers: Fix callTracer logs on onlyTopCall == true (#29068)
This commit is contained in:
		
							parent
							
								
									45a272c7b9
								
							
						
					
					
						commit
						5a0f468f8c
					
				| @ -161,7 +161,7 @@ func (t *callTracer) CaptureState(pc uint64, op vm.OpCode, gas, cost uint64, sco | ||||
| 		return | ||||
| 	} | ||||
| 	// Avoid processing nested calls when only caring about top call
 | ||||
| 	if t.config.OnlyTopCall && depth > 0 { | ||||
| 	if t.config.OnlyTopCall && depth > 1 { | ||||
| 		return | ||||
| 	} | ||||
| 	// Skip if tracing was interrupted
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user