Skip to content

Commit

Permalink
Try add prefix to dht
Browse files Browse the repository at this point in the history
  • Loading branch information
tvorogme committed Feb 15, 2024
1 parent 6aa8e26 commit 93a3000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lite-server-daemon/adnl-lite-proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class LiteProxy : public td::actor::Actor {
// Start DHT
for (auto &dht : config_.dht_ids) {
auto D =
ton::dht::Dht::create(ton::adnl::AdnlNodeIdShort{dht}, db_root_, dht_config, keyring_.get(), adnl_.get());
ton::dht::Dht::create(ton::adnl::AdnlNodeIdShort{dht}, db_root_ + "/lite-proxy", dht_config, keyring_.get(), adnl_.get());
D.ensure();
adnl::AdnlNodeIdFull local_id_full = adnl::AdnlNodeIdFull::create(keys_[dht].tl()).move_as_ok();
td::actor::send_closure(adnl_, &ton::adnl::Adnl::add_id, std::move(local_id_full), ton::adnl::AdnlAddressList{},
Expand Down

0 comments on commit 93a3000

Please sign in to comment.