From f67c38d8d28d436b462a5e54fc68371a575c5ccd Mon Sep 17 00:00:00 2001 From: orignal Date: Thu, 18 Apr 2024 18:06:24 -0400 Subject: [PATCH] fixed typo --- libi2pd/NetDb.cpp | 4 ++-- libi2pd/RouterInfo.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libi2pd/NetDb.cpp b/libi2pd/NetDb.cpp index a8fb297f..35983ab2 100644 --- a/libi2pd/NetDb.cpp +++ b/libi2pd/NetDb.cpp @@ -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 m_Floodfills.Insert (r); } else - r->ResetFlooldFill (); + r->ResetFloodFill (); } } else diff --git a/libi2pd/RouterInfo.h b/libi2pd/RouterInfo.h index ffbef597..b5c9a557 100644 --- a/libi2pd/RouterInfo.h +++ b/libi2pd/RouterInfo.h @@ -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; };