aboutsummaryrefslogtreecommitdiff
path: root/src/txorphanage.cpp
diff options
context:
space:
mode:
authormarcofleon <marleo23@proton.me>2024-05-28 09:45:19 -0700
committermarcofleon <marleo23@proton.me>2024-05-29 08:22:11 -0700
commit0048680467e15037023ceae44bc2dc8309f82f39 (patch)
treee5f24cf5694cbdb6ce52e499a8050e136288e503 /src/txorphanage.cpp
parent10164916f712bd3c92f0b3ac329ba2e1209746fe (diff)
downloadbitcoin-0048680467e15037023ceae44bc2dc8309f82f39.tar.xz
increase txorphan harness stability
initialize variable
Diffstat (limited to 'src/txorphanage.cpp')
-rw-r--r--src/txorphanage.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/txorphanage.cpp b/src/txorphanage.cpp
index 8e76c07b07..cfafadcb98 100644
--- a/src/txorphanage.cpp
+++ b/src/txorphanage.cpp
@@ -119,7 +119,6 @@ void TxOrphanage::LimitOrphans(unsigned int max_orphans, FastRandomContext& rng)
LOCK(m_mutex);
unsigned int nEvicted = 0;
- static NodeSeconds nNextSweep;
auto nNow{Now<NodeSeconds>()};
if (nNextSweep <= nNow) {
// Sweep out expired orphan pool entries: