X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fdb.cpp;h=a22b17e34c20fefb2aa1413934266ca501b48acb;hb=6cc4a62c0e696dcb9d90ba0504f688e4f644a10f;hp=72542705a69962e744e0a65e44a1c7060b34e29d;hpb=b0243da77c6ee8d8ca59b4423f333a179bff02cf;p=novacoin.git diff --git a/src/db.cpp b/src/db.cpp index 7254270..a22b17e 100644 --- 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();