Skip to content

Commit 709af67

Browse files
committed
p2p: replace RecursiveMutex m_total_bytes_sent_mutex with Mutex
1 parent 8be75fd commit 709af67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/net.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ class CConnman
10681068
static bool NodeFullyConnected(const CNode* pnode);
10691069

10701070
// Network usage totals
1071-
mutable RecursiveMutex m_total_bytes_sent_mutex;
1071+
mutable Mutex m_total_bytes_sent_mutex;
10721072
std::atomic<uint64_t> nTotalBytesRecv{0};
10731073
uint64_t nTotalBytesSent GUARDED_BY(m_total_bytes_sent_mutex) {0};
10741074

0 commit comments

Comments
 (0)