aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.cpp
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2012-09-05 06:32:55 -0700
committerJeff Garzik <[email protected]>2012-09-05 06:32:55 -0700
commit32416e380bee9af646fe1156577bba5d45b52e6a (patch)
tree8aa8f8cd797d6f43c7c0400ca347a24d0fb5001c /src/wallet.cpp
parentMerge pull request #1789 from Diapolo/fix_double_Startuptime (diff)
parentCorrect LoadWallet() return value (false -> DB_LOAD_OK) (diff)
downloaddiscoin-32416e380bee9af646fe1156577bba5d45b52e6a.tar.xz
discoin-32416e380bee9af646fe1156577bba5d45b52e6a.zip
Merge pull request #1791 from xanatos/patch-18
Correct LoadWallet() return value (false -> DB_LOAD_OK)
Diffstat (limited to 'src/wallet.cpp')
-rw-r--r--src/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp
index 2f312d809..f88a0e141 100644
--- a/src/wallet.cpp
+++ b/src/wallet.cpp
@@ -1367,7 +1367,7 @@ string CWallet::SendMoneyToDestination(const CTxDestination& address, int64 nVal
int CWallet::LoadWallet(bool& fFirstRunRet)
{
if (!fFileBacked)
- return false;
+ return DB_LOAD_OK;
fFirstRunRet = false;
int nLoadWalletRet = CWalletDB(strWalletFile,"cr+").LoadWallet(this);
if (nLoadWalletRet == DB_NEED_REWRITE)