X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fmain.cpp;h=390632aaf5c5832b7b7da36f5339003b3bcefc10;hb=6cc4a62c0e696dcb9d90ba0504f688e4f644a10f;hp=f4833120654285f1ba5f2d133d6d1a6c01fc86c6;hpb=b0243da77c6ee8d8ca59b4423f333a179bff02cf;p=novacoin.git diff --git a/src/main.cpp b/src/main.cpp index f483312..390632a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2879,7 +2879,7 @@ bool CheckWork(CBlock* pblock, CWallet& wallet, CReserveKey& reservekey) reservekey.KeepKey(); // Track how many getdata requests this block gets - CRITICAL_BLOCK(wallet.cs_mapRequestCount) + CRITICAL_BLOCK(wallet.cs_wallet) wallet.mapRequestCount[pblock->GetHash()] = 0; // Process this block the same as if we had received it from another node