mirror of
https://github.com/jwinterm/myriadcoin.git
synced 2026-11-29 12:03:54 +01:00
fix warnings: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
This commit is contained in:
committed by
Luke Dashjr
parent
9c236a945c
commit
1bdfa94a01
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user