[rpc] Remove invalid comment

pull/3389/head
Janet Liang 4 years ago
parent 1ea95b16bc
commit 269710cabb
  1. 4
      rpc/debug.go

@ -27,9 +27,7 @@ func NewPrivateDebugAPI(hmy *hmy.Harmony, version Version) rpc.API {
}
// SetLogVerbosity Sets log verbosity on runtime
// Example usage:
// curl -H "Content-Type: application/json" -d '{"method":"debug_setLogVerbosity","params":[0],"id":1}' http://localhost:9123
func (*PrivateDebugService) SetLogVerbosity(ctx context.Context, level int) (map[string]interface{}, error) {
func (s *PrivateDebugService) SetLogVerbosity(ctx context.Context, level int) (map[string]interface{}, error) {
if level < int(log.LvlCrit) || level > int(log.LvlTrace) {
return nil, ErrInvalidLogLevel
}

Loading…
Cancel
Save