fixed inverted value of i2cp.dontPublishLeaseSet

This commit is contained in:
orignal
2026-04-02 21:22:18 -04:00
parent 0fbf06ddf4
commit 975d3c61f0
+3 -1
View File
@@ -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)
{