diff options
author | John Newbery <john@johnnewbery.com> | 2020-06-20 23:17:29 -0400 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2020-06-23 08:46:05 -0400 |
commit | 3556227ddd3365cfac43b307204d73058b2943f0 (patch) | |
tree | a786d4a4e19a142d6f80440c2143811c2c90a81d | |
parent | 344e831de54f7b864f03a90f6cb19692eafcd463 (diff) |
[net] Make cs_inventory a non-recursive mutex
cs_inventory is never taken recursively. Make it a non-recursive mutex.
-rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |