Skip to content

Commit

Permalink
ignore nothing returned
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulSnow committed Feb 5, 2017
1 parent 8cabfee commit ad40bb6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion p2p/connection.go
Expand Up @@ -457,9 +457,11 @@ func (c *Connection) processReceives() {
c.metrics.MessagesReceived += 1
message.Header.PeerAddress = c.peer.Address
c.handleParcel(*message)
default:
case err != nil:
c.handleNetErrors(err)
return
default:
return
}
}
}
Expand Down

0 comments on commit ad40bb6

Please sign in to comment.