diff options
| author | practicalswift <[email protected]> | 2017-07-18 14:02:42 +0200 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2017-07-18 14:02:42 +0200 |
| commit | 5a6671c4ca85947b59d03a4f9f0f24412a8f9cf7 (patch) | |
| tree | e3c9d9f5b8b377857eaa86f1172a86cc134cd1eb /src | |
| parent | Remove unused variable int64_t nEnd (diff) | |
| download | discoin-5a6671c4ca85947b59d03a4f9f0f24412a8f9cf7.tar.xz discoin-5a6671c4ca85947b59d03a4f9f0f24412a8f9cf7.zip | |
Fix typo: "conditon" → "condition"
Typo introduced in commit 439c4e8ad5871f59d87ae2ab77fe01aa6fe41414.
Diffstat (limited to 'src')
| -rw-r--r-- | src/policy/fees.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/policy/fees.cpp b/src/policy/fees.cpp index 73cc0b4a5..b9476407c 100644 --- a/src/policy/fees.cpp +++ b/src/policy/fees.cpp @@ -840,7 +840,7 @@ CFeeRate CBlockPolicyEstimator::estimateSmartFee(int confTarget, FeeCalculation // Return failure if trying to analyze a target we're not tracking if (confTarget <= 0 || (unsigned int)confTarget > longStats->GetMaxConfirms()) { - return CFeeRate(0); // error conditon + return CFeeRate(0); // error condition } // It's not possible to get reasonable estimates for confTarget of 1 @@ -852,7 +852,7 @@ CFeeRate CBlockPolicyEstimator::estimateSmartFee(int confTarget, FeeCalculation } if (feeCalc) feeCalc->returnedTarget = confTarget; - if (confTarget <= 1) return CFeeRate(0); // error conditon + if (confTarget <= 1) return CFeeRate(0); // error condition assert(confTarget > 0); //estimateCombinedFee and estimateConservativeFee take unsigned ints /** true is passed to estimateCombined fee for target/2 and target so @@ -899,7 +899,7 @@ CFeeRate CBlockPolicyEstimator::estimateSmartFee(int confTarget, FeeCalculation } } - if (median < 0) return CFeeRate(0); // error conditon + if (median < 0) return CFeeRate(0); // error condition return CFeeRate(median); } |