diff options
| author | Pieter Wuille <[email protected]> | 2011-06-19 18:32:36 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2011-06-20 20:07:28 +0200 |
| commit | 98705aa51cbfee81ecd2498a014c285ac677ba69 (patch) | |
| tree | dcd42eff69a50111b29f7bdb7cad396dd49c6b7b /src/wallet.cpp | |
| parent | Merge pull request #332 from shanew/master (diff) | |
| download | discoin-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.cpp | 2 |
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) |