mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Fix compilation error in rldp-http-proxy (#630)
This commit is contained in:
parent
308dcc9206
commit
fafb90b5fa
1 changed files with 2 additions and 2 deletions
|
@ -1370,10 +1370,10 @@ class RldpHttpProxy : public td::actor::Actor {
|
||||||
auto &c = peer_capabilities_[peer];
|
auto &c = peer_capabilities_[peer];
|
||||||
if (!c.received && c.retry_at.is_in_past()) {
|
if (!c.received && c.retry_at.is_in_past()) {
|
||||||
c.retry_at = td::Timestamp::in(30.0);
|
c.retry_at = td::Timestamp::in(30.0);
|
||||||
auto send_query = [&](const ton::adnl::AdnlNodeIdShort &local_id) {
|
auto send_query = [&, this, SelfId = actor_id(this)](const ton::adnl::AdnlNodeIdShort &local_id) {
|
||||||
td::actor::send_closure(
|
td::actor::send_closure(
|
||||||
adnl_, &ton::adnl::Adnl::send_query, local_id, peer, "q",
|
adnl_, &ton::adnl::Adnl::send_query, local_id, peer, "q",
|
||||||
[SelfId = actor_id(this), peer](td::Result<td::BufferSlice> R) {
|
[SelfId, peer](td::Result<td::BufferSlice> R) {
|
||||||
if (R.is_error()) {
|
if (R.is_error()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue