aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2011-06-19 18:32:36 +0200
committerPieter Wuille <[email protected]>2011-06-20 20:07:28 +0200
commit98705aa51cbfee81ecd2498a014c285ac677ba69 (patch)
treedcd42eff69a50111b29f7bdb7cad396dd49c6b7b /src/wallet.cpp
parentMerge pull request #332 from shanew/master (diff)
downloaddiscoin-98705aa51cbfee81ecd2498a014c285ac677ba69.tar.xz
discoin-98705aa51cbfee81ecd2498a014c285ac677ba69.zip
Bugfixes walletclass
Some problems found by ius: * compiler complains with no return after critical section block * CKeyStore::GetPrivKey(key) was undefined for unknown key * missing return statement in GetChange()
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 7a65b2a57..b06187a4b 100644
--- a/src/wallet.cpp
+++ b/src/wallet.cpp
@@ -1006,8 +1006,8 @@ bool CWallet::GetTransaction(const uint256 &hashTx, CWalletTx& wtx)
wtx = (*mi).second;
return true;
}
- return false;
}
+ return false;
}
bool GetWalletFile(CWallet* pwallet, string &strWalletFileOut)