keep linter happy

This commit is contained in:
Matthias Radestock committed 2015-05-11 02:25:01 +01:00
1 parent 0cbbe9bac3
commit ef2c55141b
1 file changed
+1 -1
+1 -1
View File
@@ -162,7 +162,7 @@ func (peer *LocalPeer) handleAddConnection(conn Connection) error {
log.Fatal("Attempt made to add connection to peer with unknown remote peer")
}
toName := conn.Remote().Name
dupErr := fmt.Errorf("Multiple connections to %s added to %s", conn.Remote(), peer)
dupErr := fmt.Errorf("Multiple connections to %s added to %s", conn.Remote(), peer.String())
// deliberately non symmetrical
if dupConn, found := peer.connections[toName]; found {
if dupConn == conn {