1
0
Fork 0
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:
SpyCheese 2023-03-02 17:39:00 +00:00 committed by GitHub
parent 308dcc9206
commit fafb90b5fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1370,10 +1370,10 @@ class RldpHttpProxy : public td::actor::Actor {
auto &c = peer_capabilities_[peer];
if (!c.received && c.retry_at.is_in_past()) {
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(
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()) {
return;
}