StringIsBase64 is bittorrent mode

This commit is contained in:
idk
2022-09-22 23:14:43 -04:00
parent e6cb984e8f
commit 9307ae9cf4

View File

@ -242,7 +242,7 @@ func (a I2PAddr) Base64() string {
// Returns the I2P destination (base32-encoded)
func (a I2PAddr) String() string {
if StringIsBase64 {
return a.Base64()
return a.Base64() + ".i2p"
}
return string(a.Base32())
}