diff --git a/libi2pd_client/ClientContext.cpp b/libi2pd_client/ClientContext.cpp index f2e2217b..139f3413 100644 --- a/libi2pd_client/ClientContext.cpp +++ b/libi2pd_client/ClientContext.cpp @@ -953,9 +953,9 @@ namespace client { // mandatory params - std::string keys = section.second.get (TORRENTS_TUNNEL_KEYS); std::string torrentsDir = section.second.get (TORRENTS_TUNNEL_TORRENTS_DIR); // optional params + std::string keys = section.second.get (TORRENTS_TUNNEL_KEYS, "transient"); std::string trackers = section.second.get (TORRENTS_TUNNEL_TRACKERS, ""); i2p::data::SigningKeyType sigType = section.second.get (TORRENTS_TUNNEL_SIGNATURE_TYPE, i2p::data::SIGNING_KEY_TYPE_EDDSA_SHA512_ED25519); if (sigType > i2p::data::SIGNING_KEY_TYPE_REDDSA_SHA512_ED25519) sigType = i2p::data::SIGNING_KEY_TYPE_EDDSA_SHA512_ED25519;