more fixups

This commit is contained in:
idk
2020-12-19 17:38:20 -05:00
parent 1b5592e0f8
commit f61be4530f
2 changed files with 2 additions and 2 deletions

View File

@ -281,7 +281,7 @@ type ResponseResult struct {
// find_node
Nodes6 CompactIPv6Node `bencode:"nodes6,omitempty"` // BEP 32
// NodesI2P CompactI2PNode `bencode:nodes,omitempty`
// NodesI2P CompactI2PNode `bencode:nodes,omitempty`
// Token is used for future "announce_peer".
//

View File

@ -214,7 +214,7 @@ func (a *Address) UnmarshalBinary(b []byte) (err error) {
switch _len {
case net.IPv4len, net.IPv6len:
default:
log.Println("UNMARSHAL", _len)
log.Println("UNMARSHAL", _len)
return ErrInvalidAddr
}