diff --git a/core/commands/ping.go b/core/commands/ping.go index 94dfe16cd..2165921fd 100644 --- a/core/commands/ping.go +++ b/core/commands/ping.go @@ -75,7 +75,7 @@ trip latency information. numPings, _ := req.Options[pingCountOptionName].(int) if numPings <= 0 { - return fmt.Errorf("error: ping count must be greater than 0, was %d", numPings) + return fmt.Errorf("ping count must be greater than 0, was %d", numPings) } if len(n.Peerstore.Addrs(pid)) == 0 {