diff options
| author | Gavin Andresen <[email protected]> | 2014-07-03 15:50:24 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2014-07-03 15:50:24 -0400 |
| commit | 21876d38310f07befd5d7967fd68adf923eef6ba (patch) | |
| tree | 69710bd1c5634c859c9888faa2cae8a8c10cff07 /src/core.cpp | |
| parent | Merge pull request #4302 (diff) | |
| parent | Move fee policy out of core (diff) | |
| download | discoin-21876d38310f07befd5d7967fd68adf923eef6ba.tar.xz discoin-21876d38310f07befd5d7967fd68adf923eef6ba.zip | |
Merge branch 'smartfee_wallet'
Diffstat (limited to 'src/core.cpp')
| -rw-r--r-- | src/core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.cpp b/src/core.cpp index ca2862452..47f3b2a01 100644 --- a/src/core.cpp +++ b/src/core.cpp @@ -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; } |