StringIsBase64 is bittorrent mode
This commit is contained in:
@ -242,7 +242,7 @@ func (a I2PAddr) Base64() string {
|
|||||||
// Returns the I2P destination (base32-encoded)
|
// Returns the I2P destination (base32-encoded)
|
||||||
func (a I2PAddr) String() string {
|
func (a I2PAddr) String() string {
|
||||||
if StringIsBase64 {
|
if StringIsBase64 {
|
||||||
return a.Base64()
|
return a.Base64() + ".i2p"
|
||||||
}
|
}
|
||||||
return string(a.Base32())
|
return string(a.Base32())
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user