mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Move fee policy out of core
This commit is contained in:
@@ -80,7 +80,7 @@ CFeeRate::CFeeRate(int64_t nFeePaid, size_t nSize)
|
||||
nSatoshisPerK = 0;
|
||||
}
|
||||
|
||||
int64_t CFeeRate::GetFee(size_t nSize)
|
||||
int64_t CFeeRate::GetFee(size_t nSize) const
|
||||
{
|
||||
return nSatoshisPerK*nSize / 1000;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user