diff --git a/testnet/virtual.go b/testnet/virtual.go index 86b43c7c8957d1b202a1d97ff356ea3e16a03b09..e887a5cf474362c5baf142f21db5e887693699b7 100644 --- a/testnet/virtual.go +++ b/testnet/virtual.go @@ -88,7 +88,7 @@ func (n *network) SendMessage( receiver, ok := n.clients[to] if !ok { - return errors.New("Cannot locate peer on network") + return errors.New("cannot locate peer on network") } // nb: terminate the context since the context wouldn't actually be passed @@ -107,7 +107,7 @@ func (n *network) SendMessage( func (n *network) deliver( r bsnet.Receiver, from peer.ID, message bsmsg.BitSwapMessage) error { if message == nil || from == "" { - return errors.New("Invalid input") + return errors.New("invalid input") } n.delay.Wait()