Skip to content

Commit

Permalink
[Trivial] Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
random-zebra committed May 22, 2020
1 parent a8fa99b commit c5c9df0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/policy/fees.cpp
Expand Up @@ -261,7 +261,7 @@ void TxConfirmStats::removeTx(unsigned int entryHeight, unsigned int nBestSeenHe
blocksAgo = 0;
if (blocksAgo < 0) {
LogPrint(BCLog::ESTIMATEFEE, "Blockpolicy error, blocks ago is negative for mempool tx\n");
return; //This can't happen becasue we call this with our best seen height, no entries can have higher
return; //This can't happen because we call this with our best seen height, no entries can have higher
}

if (blocksAgo >= (int)unconfTxs.size()) {
Expand Down
2 changes: 1 addition & 1 deletion src/policy/fees.h
Expand Up @@ -118,7 +118,7 @@ class TxConfirmStats
/**
* Initialize the data structures. This is called by BlockPolicyEstimator's
* constructor with default values.
* @param defaultBuckets contains the upper limits for the bucket boundries
* @param defaultBuckets contains the upper limits for the bucket boundaries
* @param maxConfirms max number of confirms to track
* @param decay how much to decay the historical moving average per block
* @param dataTypeString for logging purposes
Expand Down

0 comments on commit c5c9df0

Please sign in to comment.