git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix warnings: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
[novacoin.git]
/
src
/
wallet.h
diff --git
a/src/wallet.h
b/src/wallet.h
index
4387e1a
..
bb9177b
100644
(file)
--- a/
src/wallet.h
+++ b/
src/wallet.h
@@
-499,8
+499,10
@@
public:
return false;
if (mapPrev.empty())
+ {
BOOST_FOREACH(const CMerkleTx& tx, vtxPrev)
mapPrev[tx.GetHash()] = &tx;
+ }
BOOST_FOREACH(const CTxIn& txin, ptx->vin)
{