Browse Source

fixed typo

pull/2059/head
orignal 8 months ago
parent
commit
f67c38d8d2
  1. 4
      libi2pd/NetDb.cpp
  2. 2
      libi2pd/RouterInfo.h

4
libi2pd/NetDb.cpp

@ -269,7 +269,7 @@ namespace data @@ -269,7 +269,7 @@ namespace data
if (m_Floodfills.GetSize () < NETDB_NUM_FLOODFILLS_THRESHOLD || r->GetProfile ()->IsReal ())
m_Floodfills.Insert (r);
else
r->ResetFlooldFill ();
r->ResetFloodFill ();
}
}
}
@ -304,7 +304,7 @@ namespace data @@ -304,7 +304,7 @@ namespace data
m_Floodfills.Insert (r);
}
else
r->ResetFlooldFill ();
r->ResetFloodFill ();
}
}
else

2
libi2pd/RouterInfo.h

@ -228,7 +228,7 @@ namespace data @@ -228,7 +228,7 @@ namespace data
void UpdateSupportedTransports ();
void UpdateIntroducers (uint64_t ts); // ts in seconds
bool IsFloodfill () const { return m_Caps & Caps::eFloodfill; };
void ResetFlooldFill () { m_Caps &= ~Caps::eFloodfill; };
void ResetFloodFill () { m_Caps &= ~Caps::eFloodfill; };
bool IsECIES () const { return m_RouterIdentity->GetCryptoKeyType () == i2p::data::CRYPTO_KEY_TYPE_ECIES_X25519_AEAD; };
bool IsNTCP2 (bool v4only = true) const;
bool IsNTCP2V6 () const { return m_SupportedTransports & eNTCP2V6; };

Loading…
Cancel
Save