internal/debug: rename debug_trace to debug_goTrace

Reduces confusion with EVM execution tracing methods.
This commit is contained in:
Felix Lange 2016-05-06 10:24:16 +02:00
parent 2d7d7ef2fe
commit 844e911129
2 changed files with 4 additions and 4 deletions

View File

@ -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
}

View File

@ -366,8 +366,8 @@ web3._extend({
params: 0
}),
new web3._extend.Method({
name: 'trace',
call: 'debug_trace',
name: 'goTrace',
call: 'debug_goTrace',
params: 2
}),
new web3._extend.Method({