mirror of https://github.com/oxen-io/lokinet
Fix log warning
This commit is contained in:
parent
ab11a8128d
commit
66c79b232a
|
@ -21,6 +21,8 @@ static const std::string RC_FILE_EXT = ".signed";
|
|||
|
||||
namespace llarp
|
||||
{
|
||||
static auto logcat = log::Cat("nodedb");
|
||||
|
||||
NodeDB::Entry::Entry(RouterContact value) : rc(std::move(value)), insertedAt(llarp::time_now_ms())
|
||||
{}
|
||||
|
||||
|
@ -160,7 +162,7 @@ namespace llarp
|
|||
|
||||
if (not purge.empty())
|
||||
{
|
||||
LogWarn("removing {} invalid RC from disk", purge.size());
|
||||
log::warning(logcat, "removing {} invalid RCs from disk", purge.size());
|
||||
|
||||
for (const auto& fpath : purge)
|
||||
fs::remove(fpath);
|
||||
|
|
Loading…
Reference in New Issue