diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-07-28 20:00:23 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-07-30 11:21:51 +0200 |
commit | fa384fdd0b7af73d81fa9619c5fba779452cd2af (patch) | |
tree | 916e3054782a7188df547399f4efe191dca415d1 /src/banman.cpp | |
parent | 4b1fb50def0dea0cd320bc43c12d9a12edde0390 (diff) |
Ignore banlist.dat
This also allows to remove the "dirty" argument, which can now be
deduced from the return value of Read().
Diffstat (limited to 'src/banman.cpp')
-rw-r--r-- | src/banman.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/banman.cpp b/src/banman.cpp index d2437e6733..c64a48a05a 100644 --- a/src/banman.cpp +++ b/src/banman.cpp @@ -18,7 +18,7 @@ BanMan::BanMan(fs::path ban_file, CClientUIInterface* client_interface, int64_t if (m_client_interface) m_client_interface->InitMessage(_("Loading banlist…").translated); int64_t n_start = GetTimeMillis(); - if (m_ban_db.Read(m_banned, m_is_dirty)) { + if (m_ban_db.Read(m_banned)) { SweepBanned(); // sweep out unused entries LogPrint(BCLog::NET, "Loaded %d banned node addresses/subnets %dms\n", m_banned.size(), |