diff options
author | Jeff Garzik <jgarzik@exmulti.com> | 2012-04-15 11:39:15 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@exmulti.com> | 2012-04-15 11:39:15 -0700 |
commit | 5a701eb7ea16b87b56263996ee8e98ec89e2a3d8 (patch) | |
tree | fe8a60dc3eeb26e62cf4531a98b29ed99bee90e9 /src/main.h | |
parent | fced2231f89fd86c2c4abe7426b0a493a94bd444 (diff) | |
parent | da7bbd9dfdb8914977fc254b0c9b1bb3025726c8 (diff) | |
download | bitcoin-5a701eb7ea16b87b56263996ee8e98ec89e2a3d8.tar.xz |
Merge pull request #1104 from laanwj/2012_04_clang
Enable and fix most compilation warnings
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 723f4e150c..a89c0935fe 100644 --- a/src/main.h +++ b/src/main.h @@ -573,9 +573,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) |