aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Newbery <[email protected]>2020-06-20 23:17:29 -0400
committerJohn Newbery <[email protected]>2020-06-23 08:46:05 -0400
commit3556227ddd3365cfac43b307204d73058b2943f0 (patch)
treea786d4a4e19a142d6f80440c2143811c2c90a81d /src
parent[net processing] Remove PushBlockInventory and PushBlockHash (diff)
downloaddiscoin-3556227ddd3365cfac43b307204d73058b2943f0.tar.xz
discoin-3556227ddd3365cfac43b307204d73058b2943f0.zip
[net] Make cs_inventory a non-recursive mutex
cs_inventory is never taken recursively. Make it a non-recursive mutex.
Diffstat (limited to 'src')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index ddb185763..3c2376395 100644
--- a/src/net.h
+++ b/src/net.h
@@ -803,7 +803,7 @@ public:
// There is no final sorting before sending, as they are always sent immediately
// and in the order requested.
std::vector<uint256> vInventoryBlockToSend GUARDED_BY(cs_inventory);
- RecursiveMutex cs_inventory;
+ Mutex cs_inventory;
struct TxRelay {
mutable RecursiveMutex cs_filter;