1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Removed ip var from tun init

This commit is contained in:
Oleg Baranov 2025-02-20 10:38:09 +04:00
parent 1d800cdd20
commit 08b6ccb783

View file

@ -1850,7 +1850,7 @@ void ValidatorEngine::start_adnl() {
td::actor::send_closure(adnl_, &ton::adnl::Adnl::register_network_manager, adnl_network_manager_.get());
if (config_.tunnel_enabled) {
auto on_tunnel_ready = td::PromiseCreator::lambda([SelfId = actor_id(this), this, ip](td::Result<td::IPAddress> R) {
auto on_tunnel_ready = td::PromiseCreator::lambda([SelfId = actor_id(this), this](td::Result<td::IPAddress> R) {
R.ensure();
auto addr = R.move_as_ok();