Skip to content

Commit 5a6671c

Browse files
Fix typo: "conditon" → "condition"
Typo introduced in commit 439c4e8.
1 parent 35aff43 commit 5a6671c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/policy/fees.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ CFeeRate CBlockPolicyEstimator::estimateSmartFee(int confTarget, FeeCalculation
840840

841841
// Return failure if trying to analyze a target we're not tracking
842842
if (confTarget <= 0 || (unsigned int)confTarget > longStats->GetMaxConfirms()) {
843-
return CFeeRate(0); // error conditon
843+
return CFeeRate(0); // error condition
844844
}
845845

846846
// It's not possible to get reasonable estimates for confTarget of 1
@@ -852,7 +852,7 @@ CFeeRate CBlockPolicyEstimator::estimateSmartFee(int confTarget, FeeCalculation
852852
}
853853
if (feeCalc) feeCalc->returnedTarget = confTarget;
854854

855-
if (confTarget <= 1) return CFeeRate(0); // error conditon
855+
if (confTarget <= 1) return CFeeRate(0); // error condition
856856

857857
assert(confTarget > 0); //estimateCombinedFee and estimateConservativeFee take unsigned ints
858858
/** true is passed to estimateCombined fee for target/2 and target so
@@ -899,7 +899,7 @@ CFeeRate CBlockPolicyEstimator::estimateSmartFee(int confTarget, FeeCalculation
899899
}
900900
}
901901

902-
if (median < 0) return CFeeRate(0); // error conditon
902+
if (median < 0) return CFeeRate(0); // error condition
903903

904904
return CFeeRate(median);
905905
}

0 commit comments

Comments
 (0)