diff --git a/Identity.cpp b/Identity.cpp index ff3946b8..7c8e38be 100644 --- a/Identity.cpp +++ b/Identity.cpp @@ -365,6 +365,7 @@ namespace data void IdentityEx::DropVerifier () const { + // TODO: potential race condition with Verify m_Verifier = nullptr; } diff --git a/RouterInfo.cpp b/RouterInfo.cpp index a0aad8d9..2f73bf92 100644 --- a/RouterInfo.cpp +++ b/RouterInfo.cpp @@ -65,7 +65,6 @@ namespace data LogPrint (eLogError, "RouterInfo: signature verification failed"); m_IsUnreachable = true; } - m_RouterIdentity->DropVerifier (); } void RouterInfo::SetRouterIdentity (std::shared_ptr identity)