Litecoin: reject fee > 1 LTC in sendrawtransaction
This commit is contained in:
parent
70313dd1e7
commit
bb85fc8477
@ -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…
x
Reference in New Issue
Block a user