From 793166d3810ef3c08cc55c16a17d6d77ae6fabb5 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Thu, 8 May 2025 18:36:14 +0000 Subject: [PATCH] wallet: change the write semaphore to a BinarySemaphore Follow-up commits will make a distinction between Semaphore and BinarySemaphore. --- src/wallet/sqlite.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/sqlite.h b/src/wallet/sqlite.h index a3e0de1fcc2..c17ca3a8c9f 100644 --- a/src/wallet/sqlite.h +++ b/src/wallet/sqlite.h @@ -127,7 +127,7 @@ public: // Batches must acquire this semaphore on writing, and release when done writing. // This ensures that only one batch is modifying the database at a time. - CSemaphore m_write_semaphore; + BinarySemaphore m_write_semaphore; bool Verify(bilingual_str& error);