aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/core_rpc_server.cpp
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-04-15 21:12:03 +0000
committerxiphon <xiphon@protonmail.com>2020-04-15 21:22:55 +0000
commitd2d3a81d0e1ab88e50eb5c82e3e142e38235a546 (patch)
tree6ebfdf4aa02cacffad534cdc98eb0e1899cdd1af /src/rpc/core_rpc_server.cpp
parentMerge pull request #6397 (diff)
downloadmonero-d2d3a81d0e1ab88e50eb5c82e3e142e38235a546.tar.xz
bootstrap_daemon: fix missing virtual destructor and lambda capture (clang warning)
Diffstat (limited to 'src/rpc/core_rpc_server.cpp')
-rw-r--r--src/rpc/core_rpc_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/core_rpc_server.cpp b/src/rpc/core_rpc_server.cpp
index f097c93fa..aa4e3c5cd 100644
--- a/src/rpc/core_rpc_server.cpp
+++ b/src/rpc/core_rpc_server.cpp
@@ -224,7 +224,7 @@ namespace cryptonote
}
else if (address == "auto")
{
- auto get_nodes = [this, credits_per_hash_threshold]() {
+ auto get_nodes = [this]() {
return get_public_nodes(credits_per_hash_threshold);
};
m_bootstrap_daemon.reset(new bootstrap_daemon(std::move(get_nodes), rpc_payment_enabled));