Skip to content

Commit

Permalink
fix: deepsource
Browse files Browse the repository at this point in the history
  • Loading branch information
alok committed Dec 30, 2021
1 parent 6bfc0b3 commit 32a2742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/node/internal/mesher/mesher.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (service) RespFactory() protocols.Response { return new(peersList) }

func (s *service) SetSender(sender protocols.Sender) { s.send = sender }

func (s *service) HandleMsg(req protocols.Request, p peer.ID) (protocols.Response, error) {
func (s *service) HandleMsg(req protocols.Request, _ peer.ID) (protocols.Response, error) {
peers, ok := req.(*peersList)
if !ok {
return nil, errors.New("incorrect msg received")
Expand Down

0 comments on commit 32a2742

Please sign in to comment.