The fee is to low for the reference client.

This commit is contained in:
janko33bd
2017-09-04 22:39:25 +01:00
parent 2fef57af93
commit 266da77e16

View File

@@ -19,7 +19,7 @@ CFeeRate::CFeeRate(const CAmount& nFeePaid, size_t nSize)
CAmount CFeeRate::GetFee(size_t nSize) const
{
CAmount nFee = nSatoshisPerK*nSize / 1000;
CAmount nFee = nSatoshisPerK*(1 + nSize / 1000);
if (nFee == 0 && nSatoshisPerK > 0)
nFee = nSatoshisPerK;