diff --git a/lite-server-daemon/adnl-lite-proxy.cpp b/lite-server-daemon/adnl-lite-proxy.cpp index 8ebf86ec5..840748060 100644 --- a/lite-server-daemon/adnl-lite-proxy.cpp +++ b/lite-server-daemon/adnl-lite-proxy.cpp @@ -89,8 +89,8 @@ class LiteProxy : public td::actor::Actor { td::actor::send_closure(adnl_, &ton::adnl::Adnl::add_id, std::move(local_id_full), ton::adnl::AdnlAddressList{}, static_cast(255)); - LOG(INFO) << "Start dht with: " << dht.bits256_value().to_hex(); - auto D = ton::dht::Dht::create_client(ton::adnl::AdnlNodeIdShort{dht}, db_root_ + "/lite-proxy", dht_config, + LOG(INFO) << "Start dht with: " << local_id_full.compute_short_id().bits256_value().to_hex(); + auto D = ton::dht::Dht::create_client(local_id_full.compute_short_id(), db_root_ + "/lite-proxy", dht_config, keyring_.get(), adnl_.get()); D.ensure();