drop "Peer " prefix in Peers section of status

it's redundant and the output looks much better w/o it
This commit is contained in:
Matthias Radestock committed 2015-04-15 11:09:35 +01:00
1 parent f0998d6196
commit 5415e3a60a
1 file changed
+1 -1
+1 -1
View File
@@ -35,7 +35,7 @@ func NewPeer(name PeerName, nickName string, uid uint64, version uint64) *Peer {
func (peer *Peer) String() string {
peer.RLock()
defer peer.RUnlock()
return fmt.Sprint("Peer ", peer.FullName(), " (v", peer.version, ") (UID ", peer.UID, ")")
return fmt.Sprint(peer.FullName(), " (v", peer.version, ") (UID ", peer.UID, ")")
}
func (peer *Peer) FullName() string {