From 844e911129dbebd80ff57ec68336a845b52c5eff Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 6 May 2016 10:24:16 +0200 Subject: internal/debug: rename debug_trace to debug_goTrace Reduces confusion with EVM execution tracing methods. --- internal/debug/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/debug') diff --git a/internal/debug/api.go b/internal/debug/api.go index 2cb264040..a0bff2768 100644 --- a/internal/debug/api.go +++ b/internal/debug/api.go @@ -131,9 +131,9 @@ func (h *HandlerT) StopCPUProfile() error { return nil } -// Trace turns on tracing for nsec seconds and writes +// GoTrace turns on tracing for nsec seconds and writes // trace data to file. -func (h *HandlerT) Trace(file string, nsec uint) error { +func (h *HandlerT) GoTrace(file string, nsec uint) error { if err := h.StartTrace(file); err != nil { return err } -- cgit v1.2.3