mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 06:54:15 +00:00
set LeaseSet type to 3 for ratchets if not specified
This commit is contained in:
parent
da1e52357f
commit
d0d71c93af
@ -855,8 +855,7 @@ namespace client
|
|||||||
|
|
||||||
// extract encryption type params for LS2
|
// extract encryption type params for LS2
|
||||||
std::set<i2p::data::CryptoKeyType> encryptionKeyTypes;
|
std::set<i2p::data::CryptoKeyType> encryptionKeyTypes;
|
||||||
if ((GetLeaseSetType () == i2p::data::NETDB_STORE_TYPE_STANDARD_LEASESET2 ||
|
if (params)
|
||||||
GetLeaseSetType () == i2p::data::NETDB_STORE_TYPE_ENCRYPTED_LEASESET2) && params)
|
|
||||||
{
|
{
|
||||||
auto it = params->find (I2CP_PARAM_LEASESET_ENCRYPTION_TYPE);
|
auto it = params->find (I2CP_PARAM_LEASESET_ENCRYPTION_TYPE);
|
||||||
if (it != params->end ())
|
if (it != params->end ())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user