git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix rpc-hanging deadlocks
[novacoin.git]
/
src
/
db.cpp
diff --git
a/src/db.cpp
b/src/db.cpp
index
7254270
..
a22b17e
100644
(file)
--- a/
src/db.cpp
+++ b/
src/db.cpp
@@
-683,8
+683,7
@@
int CWalletDB::LoadWallet(CWallet* pwallet)
#endif
//// todo: shouldn't we catch exceptions and try to recover and continue?
- CRITICAL_BLOCK(pwallet->cs_mapWallet)
- CRITICAL_BLOCK(pwallet->cs_KeyStore)
+ CRITICAL_BLOCK(pwallet->cs_wallet)
{
// Get cursor
Dbc* pcursor = GetCursor();