diff options
author | Jeff Garzik <jgarzik@exmulti.com> | 2012-09-05 06:32:55 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@exmulti.com> | 2012-09-05 06:32:55 -0700 |
commit | 32416e380bee9af646fe1156577bba5d45b52e6a (patch) | |
tree | 8aa8f8cd797d6f43c7c0400ca347a24d0fb5001c | |
parent | e271c1d3d0707870ab346cf3e96bab4e413f16ba (diff) | |
parent | 4f76be1dc5a105aaf267e00166c6837da19dc862 (diff) |
Merge pull request #1791 from xanatos/patch-18
Correct LoadWallet() return value (false -> DB_LOAD_OK)
-rw-r--r-- | src/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp index 2f312d809e..f88a0e1413 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) |