diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-15 13:27:00 +0200 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-04-15 19:43:45 -0400 |
commit | 1bdfa94a0164f73b453633861b91c67bb6bf10d8 (patch) | |
tree | 8d71cdbb9ce91ea76c82a5c9ffa5ad73391f111a /src/main.h | |
parent | 9c236a945c7dc5f401b0ae51b69e2b658c62654c (diff) | |
download | bitcoin-1bdfa94a0164f73b453633861b91c67bb6bf10d8.tar.xz |
fix warnings: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h index fc11411164..e89258699d 100644 --- a/src/main.h +++ b/src/main.h @@ -572,9 +572,11 @@ public: // To limit dust spam, require MIN_TX_FEE/MIN_RELAY_TX_FEE if any output is less than 0.01 if (nMinFee < nBaseFee) + { BOOST_FOREACH(const CTxOut& txout, vout) if (txout.nValue < CENT) nMinFee = nBaseFee; + } // Raise the price as the block approaches full if (nBlockSize != 1 && nNewBlockSize >= MAX_BLOCK_SIZE_GEN/2) |