diff options
| author | Suhas Daftuar <[email protected]> | 2015-11-24 08:53:14 -0500 |
|---|---|---|
| committer | Suhas Daftuar <[email protected]> | 2015-11-24 08:53:14 -0500 |
| commit | e30443244a7a50f2db70e593ec8a57e5086db3d9 (patch) | |
| tree | cf2d82fbe7ddf299852aaf04c7ca55f374855a7b /src/txmempool.cpp | |
| parent | Expose RPC calls for estimatesmart functions (diff) | |
| download | discoin-e30443244a7a50f2db70e593ec8a57e5086db3d9.tar.xz discoin-e30443244a7a50f2db70e593ec8a57e5086db3d9.zip | |
Pass reference to estimateSmartFee and cleanup whitespace
Diffstat (limited to 'src/txmempool.cpp')
| -rw-r--r-- | src/txmempool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp index 58b8448bb..ec7971c2f 100644 --- a/src/txmempool.cpp +++ b/src/txmempool.cpp @@ -704,7 +704,7 @@ CFeeRate CTxMemPool::estimateFee(int nBlocks) const CFeeRate CTxMemPool::estimateSmartFee(int nBlocks, int *answerFoundAtBlocks) const { LOCK(cs); - return minerPolicyEstimator->estimateSmartFee(nBlocks, answerFoundAtBlocks, this); + return minerPolicyEstimator->estimateSmartFee(nBlocks, answerFoundAtBlocks, *this); } double CTxMemPool::estimatePriority(int nBlocks) const { @@ -714,7 +714,7 @@ double CTxMemPool::estimatePriority(int nBlocks) const double CTxMemPool::estimateSmartPriority(int nBlocks, int *answerFoundAtBlocks) const { LOCK(cs); - return minerPolicyEstimator->estimateSmartPriority(nBlocks, answerFoundAtBlocks, this); + return minerPolicyEstimator->estimateSmartPriority(nBlocks, answerFoundAtBlocks, *this); } bool |