|
|
@ -1122,7 +1122,7 @@ string CWallet::SendMoneyToBitcoinAddress(string strAddress, int64 nValue, CWall |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool CWallet::LoadWallet(bool& fFirstRunRet) |
|
|
|
int CWallet::LoadWallet(bool& fFirstRunRet) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (!fFileBacked) |
|
|
|
if (!fFileBacked) |
|
|
|
return false; |
|
|
|
return false; |
|
|
@ -1139,11 +1139,11 @@ bool CWallet::LoadWallet(bool& fFirstRunRet) |
|
|
|
|
|
|
|
|
|
|
|
SetDefaultKey(GetOrReuseKeyFromPool()); |
|
|
|
SetDefaultKey(GetOrReuseKeyFromPool()); |
|
|
|
if (!SetAddressBookName(PubKeyToAddress(vchDefaultKey), "")) |
|
|
|
if (!SetAddressBookName(PubKeyToAddress(vchDefaultKey), "")) |
|
|
|
return false; |
|
|
|
return DB_LOAD_FAIL; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
CreateThread(ThreadFlushWalletDB, &strWalletFile); |
|
|
|
CreateThread(ThreadFlushWalletDB, &strWalletFile); |
|
|
|
return true; |
|
|
|
return DB_LOAD_OK; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|