Commit 2dde408c authored by Łukasz Magiera's avatar Łukasz Magiera

fix error style

License: MIT
Signed-off-by: default avatarŁukasz Magiera <magik6k@gmail.com>
parent 2cd0ce70
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment