X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Frpcwallet.cpp;h=b96f5c11157a1b51d7fcfbfbb4e80fa6244af168;hb=32b53bb54ee7591fd47dd1ee24e05b73337f40b5;hp=8c3683617538449cd84ff3aed41469964f314490;hpb=534f63f45923e8fc00dbcd8b49e9dab3547463cb;p=novacoin.git diff --git a/src/rpcwallet.cpp b/src/rpcwallet.cpp index 8c36836..b96f5c1 100644 --- a/src/rpcwallet.cpp +++ b/src/rpcwallet.cpp @@ -1511,7 +1511,7 @@ void ThreadCleanWalletPassphrase(void* parg) { nWalletUnlockTime = nMyWakeTime; - do + for ( ; ; ) { if (nWalletUnlockTime==0) break; @@ -1523,7 +1523,7 @@ void ThreadCleanWalletPassphrase(void* parg) Sleep(nToSleep); ENTER_CRITICAL_SECTION(cs_nWalletUnlockTime); - } while(1); + }; if (nWalletUnlockTime) { @@ -1898,9 +1898,6 @@ Value newmalleablekey(const Array& params, bool fHelp) "newmalleablekey\n" "Make a malleable public/private key pair.\n"); - if (!(fDebug || fTestNet) && GetTime() < SMALLDATA_SWITCH_TIME) - throw runtime_error("This feature has been disabled for mainNet clients"); - // Parse the account first so we don't generate a key if there's an error string strAccount; if (params.size() > 0)