From 0d101f0ae6ea1e166387ba1b85645900f7e6ae54 Mon Sep 17 00:00:00 2001 From: SChernykh <15806605+SChernykh@users.noreply.github.com> Date: Sat, 20 Sep 2025 19:23:22 +0200 Subject: [PATCH] Fixed MSVC build --- src/p2pool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p2pool.cpp b/src/p2pool.cpp index b90563c..377fc22 100644 --- a/src/p2pool.cpp +++ b/src/p2pool.cpp @@ -1338,7 +1338,7 @@ void p2pool::download_block_headers3(uint64_t start_height, uint64_t current_hei s << "{\"jsonrpc\":\"2.0\",\"id\":\"0\",\"method\":\"get_block_headers_range\",\"params\":{\"start_height\":" << start_height << ",\"end_height\":" << next_height << "}}\0"; JSONRPCRequest::call(host.m_address, host.m_rpcPort, buf, host.m_rpcLogin, m_params->m_socks5Proxy, host.m_rpcSSL, host.m_rpcSSL_Fingerprint, - [this, start_height, next_height, host, current_height](const char* data, size_t size, double) { + [this, start_height, next_height, current_height](const char* data, size_t size, double) { if (parse_block_headers_range(data, size) == next_height - start_height + 1) { download_block_headers3(next_height + 1, current_height); }