git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
update to work with new lock system, add protocol.* to build system
[novacoin.git]
/
src
/
wallet.cpp
diff --git
a/src/wallet.cpp
b/src/wallet.cpp
index
9c04e37
..
d78e470
100644
(file)
--- 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)
{