mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
don't publish introducers for non-published SSU2 address
This commit is contained in:
parent
2197cd8620
commit
4a3e481a83
@ -1321,7 +1321,7 @@ namespace data
|
||||
size_t len = address.IsSSU2 () ? 32 : 16;
|
||||
WriteString (address.i.ToBase64 (len), properties); properties << ';';
|
||||
}
|
||||
if (address.transportStyle == eTransportSSU || address.IsSSU2 ())
|
||||
if (address.transportStyle == eTransportSSU || (address.IsSSU2 () && isPublished))
|
||||
{
|
||||
// write introducers if any
|
||||
if (address.ssu && !address.ssu->introducers.empty())
|
||||
|
Loading…
Reference in New Issue
Block a user