From 975d3c61f0d0dc7a1fdfdfc7942b2f4bfe4806ad Mon Sep 17 00:00:00 2001 From: orignal Date: Thu, 2 Apr 2026 21:22:18 -0400 Subject: [PATCH] fixed inverted value of i2cp.dontPublishLeaseSet --- libi2pd/Destination.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libi2pd/Destination.cpp b/libi2pd/Destination.cpp index d923ea4f..b8517712 100644 --- a/libi2pd/Destination.cpp +++ b/libi2pd/Destination.cpp @@ -67,7 +67,9 @@ namespace client if (m_Nickname.empty ()) // try outbound m_Nickname = (*params)[I2CP_PARAM_OUTBOUND_NICKNAME]; // otherwise we set default nickname in Start when we know local address - params->Get (I2CP_PARAM_DONT_PUBLISH_LEASESET, m_IsPublic); // override isPublic + bool dontPublishLeaseSet = true; + if (params->Get (I2CP_PARAM_DONT_PUBLISH_LEASESET, dontPublishLeaseSet)) + m_IsPublic = !dontPublishLeaseSet; // override isPublic params->Get (I2CP_PARAM_LEASESET_TYPE, m_LeaseSetType); if (m_LeaseSetType == i2p::data::NETDB_STORE_TYPE_ENCRYPTED_LEASESET2) {