aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/db.h
diff options
context:
space:
mode:
authorPatrick Strateman <[email protected]>2016-11-26 19:32:30 -0800
committerPatrick Strateman <[email protected]>2016-12-21 13:49:48 -0800
commitd63ff6265b0c6ae30efcbb9120d4db419606198a (patch)
treea9ea9ba1bcc85f854b6164d8e9689a95eaf5bc15 /src/wallet/db.h
parentMerge #9128: net: Decouple CConnman and message serialization (diff)
downloaddiscoin-d63ff6265b0c6ae30efcbb9120d4db419606198a.tar.xz
discoin-d63ff6265b0c6ae30efcbb9120d4db419606198a.zip
Make nWalletDBUpdated atomic to avoid a potential race.
Diffstat (limited to 'src/wallet/db.h')
-rw-r--r--src/wallet/db.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wallet/db.h b/src/wallet/db.h
index a0f673ecf..74e4a3ca1 100644
--- a/src/wallet/db.h
+++ b/src/wallet/db.h
@@ -23,8 +23,6 @@
static const unsigned int DEFAULT_WALLET_DBLOGSIZE = 100;
static const bool DEFAULT_WALLET_PRIVDB = true;
-extern unsigned int nWalletDBUpdated;
-
class CDBEnv
{
private: