Browse Source

Litecoin: reject fee > 1 LTC in sendrawtransaction

0.8
Warren Togami 11 years ago
parent
commit
bb85fc8477
  1. 4
      src/main.cpp

4
src/main.cpp

@ -788,10 +788,10 @@ bool CTxMemPool::accept(CValidationState &state, CTransaction &tx, bool fCheckIn @@ -788,10 +788,10 @@ bool CTxMemPool::accept(CValidationState &state, CTransaction &tx, bool fCheckIn
dFreeCount += nSize;
}
if (fRejectInsaneFee && nFees > CTransaction::nMinRelayTxFee * 10000)
if (fRejectInsaneFee && nFees > CTransaction::nMinRelayTxFee * 1000)
return error("CTxMemPool::accept() : insane fees %s, %"PRI64d" > %"PRI64d,
hash.ToString().c_str(),
nFees, CTransaction::nMinRelayTxFee * 10000);
nFees, CTransaction::nMinRelayTxFee * 1000);
// Check against previous transactions
// This is done last to help prevent CPU exhaustion denial-of-service attacks.

Loading…
Cancel
Save