Skip to content

Commit d8c4998

Browse files
Fix typos
1 parent bd83704 commit d8c4998

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/index/txindex.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ void TxIndex::BlockConnected(const std::shared_ptr<const CBlock>& block, const C
170170
}
171171
} else {
172172
// Ensure block connects to an ancestor of the current best block. This should be the case
173-
// most of the time, but may not be immediately after the the sync thread catches up and sets
173+
// most of the time, but may not be immediately after the sync thread catches up and sets
174174
// m_synced. Consider the case where there is a reorg and the blocks on the stale branch are
175175
// in the ValidationInterface queue backlog even after the sync thread has caught up to the
176176
// new chain tip. In this unlikely event, log a warning and let the queue clear.
@@ -212,7 +212,7 @@ void TxIndex::ChainStateFlushed(const CBlockLocator& locator)
212212
}
213213

214214
// This checks that ChainStateFlushed callbacks are received after BlockConnected. The check may fail
215-
// immediately after the the sync thread catches up and sets m_synced. Consider the case where
215+
// immediately after the sync thread catches up and sets m_synced. Consider the case where
216216
// there is a reorg and the blocks on the stale branch are in the ValidationInterface queue
217217
// backlog even after the sync thread has caught up to the new chain tip. In this unlikely
218218
// event, log a warning and let the queue clear.

src/util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ std::unique_ptr<T> MakeUnique(Args&&... args)
305305
* CPU-intensive and non-interactive. See SCHED_BATCH in sched(7) for details.
306306
*
307307
* @return The return value of sched_setschedule(), or 1 on systems without
308-
* sched_setchedule().
308+
* sched_setschedule().
309309
*/
310310
int ScheduleBatchPriority(void);
311311

src/wallet/rpcdump.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ UniValue importwallet(const JSONRPCRequest& request)
552552
file.seekg(0, file.beg);
553553

554554
// Use uiInterface.ShowProgress instead of pwallet.ShowProgress because pwallet.ShowProgress has a cancel button tied to AbortRescan which
555-
// we don't want for this progress bar shoing the import progress. uiInterface.ShowProgress does not have a cancel button.
555+
// we don't want for this progress bar showing the import progress. uiInterface.ShowProgress does not have a cancel button.
556556
uiInterface.ShowProgress(_("Importing..."), 0, false); // show progress dialog in GUI
557557
while (file.good()) {
558558
uiInterface.ShowProgress("", std::max(1, std::min(99, (int)(((double)file.tellg() / (double)nFilesize) * 100))), false);

test/functional/p2p_invalid_tx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def run_test(self):
7979
self.reconnect_p2p(num_connections=2)
8080

8181
self.log.info('Test orphan transaction handling ... ')
82-
# Create a root transaction that we withold until all dependend transactions
82+
# Create a root transaction that we withhold until all dependend transactions
8383
# are sent out and in the orphan cache
8484
tx_withhold = CTransaction()
8585
tx_withhold.vin.append(CTxIn(outpoint=COutPoint(block1.vtx[0].sha256, 0)))

0 commit comments

Comments
 (0)