Make Client.PeerID return [20]byte

This commit is contained in:
Matt Joiner 2017-11-08 19:28:37 +11:00
parent b38996ae2a
commit 8712cc25d0
1 changed files with 2 additions and 2 deletions

View File

@ -90,8 +90,8 @@ func (cl *Client) SetIPBlockList(list iplist.Ranger) {
}
}
func (cl *Client) PeerID() string {
return string(cl.peerID[:])
func (cl *Client) PeerID() [20]byte {
return cl.peerID
}
type torrentAddr string