aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorw0xlt <94266259+w0xlt@users.noreply.github.com>2022-01-25 18:20:13 -0300
committerw0xlt <94266259+w0xlt@users.noreply.github.com>2022-04-22 05:40:24 -0300
commit709af67add93f6674fb80e3ae8e3f175653a62f0 (patch)
treeba61da263b6c6eb382d4a8b458eda5b64279b1a8 /src/net.h
parent8be75fd0f0039eeea5f9af7c1eb17c584ed9f507 (diff)
downloadbitcoin-709af67add93f6674fb80e3ae8e3f175653a62f0.tar.xz
p2p: replace RecursiveMutex `m_total_bytes_sent_mutex` with Mutex
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index 8cd83e00b5..f77edb253b 100644
--- a/src/net.h
+++ b/src/net.h
@@ -1068,7 +1068,7 @@ private:
static bool NodeFullyConnected(const CNode* pnode);
// Network usage totals
- mutable RecursiveMutex m_total_bytes_sent_mutex;
+ mutable Mutex m_total_bytes_sent_mutex;
std::atomic<uint64_t> nTotalBytesRecv{0};
uint64_t nTotalBytesSent GUARDED_BY(m_total_bytes_sent_mutex) {0};