diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-09-02 18:02:22 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-09-02 18:02:22 +0200 |
| commit | c5aa1b139a983613b1d5acc8f57804a9c66d4ff1 (patch) | |
| tree | 839d63707936363be7d30ad51e4c024448c97410 /src/wallet.cpp | |
| parent | Merge branch 'master' of https://github.com/bitcoin/bitcoin (diff) | |
| download | discoin-c5aa1b139a983613b1d5acc8f57804a9c66d4ff1.tar.xz discoin-c5aa1b139a983613b1d5acc8f57804a9c66d4ff1.zip | |
update to work with new lock system, add protocol.* to build system
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 9c04e37fe..d78e47039 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -731,7 +731,7 @@ int64 CWallet::GetBalance() const int64 CWallet::GetUnconfirmedBalance() const { int64 nTotal = 0; - CRITICAL_BLOCK(cs_mapWallet) + CRITICAL_BLOCK(cs_wallet) { for (map<uint256, CWalletTx>::const_iterator it = mapWallet.begin(); it != mapWallet.end(); ++it) { |