diff options
author | marcofleon <marleo23@proton.me> | 2024-05-28 09:45:19 -0700 |
---|---|---|
committer | marcofleon <marleo23@proton.me> | 2024-05-29 08:22:11 -0700 |
commit | 0048680467e15037023ceae44bc2dc8309f82f39 (patch) | |
tree | e5f24cf5694cbdb6ce52e499a8050e136288e503 /src/txorphanage.cpp | |
parent | 10164916f712bd3c92f0b3ac329ba2e1209746fe (diff) | |
download | bitcoin-0048680467e15037023ceae44bc2dc8309f82f39.tar.xz |
increase txorphan harness stability
initialize variable
Diffstat (limited to 'src/txorphanage.cpp')
-rw-r--r-- | src/txorphanage.cpp | 1 |
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: |