aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-08-30 16:33:02 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2018-08-30 16:36:26 +0200
commitb602c9b3af284995d0f89b4c676f6f6c5316c9a2 (patch)
tree081406f2b745bab6f33bd37e779372964220b83e /src/net_processing.cpp
parent07033a8f91975028e366920b0da3f7e2a6ef9cbd (diff)
tests: Add missing locking annotations and locks
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r--src/net_processing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp
index a6a8814dff..9f950831c4 100644
--- a/src/net_processing.cpp
+++ b/src/net_processing.cpp
@@ -70,7 +70,7 @@ struct COrphanTx {
NodeId fromPeer;
int64_t nTimeExpire;
};
-static CCriticalSection g_cs_orphans;
+CCriticalSection g_cs_orphans;
std::map<uint256, COrphanTx> mapOrphanTransactions GUARDED_BY(g_cs_orphans);
void EraseOrphansFor(NodeId peer);