mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-18 16:49:58 +00:00
exclude SSU1 introducers
This commit is contained in:
parent
8447822c35
commit
7bcc905f05
@ -579,7 +579,7 @@ namespace data
|
||||
int numValid = 0;
|
||||
for (auto& it: address->ssu->introducers)
|
||||
{
|
||||
if (it.iTag && ts < it.iExp)
|
||||
if (it.iTag && ts < it.iExp && !it.iH.IsZero ())
|
||||
numValid++;
|
||||
else
|
||||
it.iTag = 0;
|
||||
|
@ -125,7 +125,7 @@ namespace data
|
||||
|
||||
struct Introducer
|
||||
{
|
||||
Introducer (): iTag (0), iExp (0) {};
|
||||
Introducer (): iTag (0), iExp (0) { iH.Fill(0); };
|
||||
IdentHash iH;
|
||||
uint32_t iTag;
|
||||
uint32_t iExp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user