Skip to content

Commit

Permalink
Add dht log
Browse files Browse the repository at this point in the history
  • Loading branch information
tvorogme committed Feb 15, 2024
1 parent 39d2367 commit dae5e0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lite-server-daemon/adnl-lite-proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<td::uint8>(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();

Expand Down

0 comments on commit dae5e0f

Please sign in to comment.