Merge pull request #6453

d2d3a81 bootstrap_daemon: fix missing virtual destructor and lambda capture (clang warning) (xiphon)
This commit is contained in:
luigi1111
2020-05-01 15:47:47 -05:00
2 changed files with 3 additions and 1 deletions

View File

@@ -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));