Skip to content

Commit

Permalink
Fix misc typos
Browse files Browse the repository at this point in the history
  • Loading branch information
barton2526 committed Mar 22, 2022
1 parent bc17a07 commit 7de71a0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ bool AppInit2(ThreadHandlerPtr threads)
std::vector<std::pair<fs::path, uintmax_t>> block_data_files_to_load;

// If -reindex argument passed at startup, then remove existing txleveldb and accrual directories and renaming the
// exising block data files from blk*.dat to blk*.dat.orig to prepare for reloading index from block data files.
// existing block data files from blk*.dat to blk*.dat.orig to prepare for reloading index from block data files.
// This is the first half of reindex. The second half is below in the import blocks section.
if (gArgs.GetBoolArg("-reindex")) {
uiInterface.InitMessage(_("Resetting block chain index to prepare for reindexing..."));
Expand Down
2 changes: 1 addition & 1 deletion src/rpc/blockchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2569,7 +2569,7 @@ UniValue createmrcrequest(const UniValue& params, const bool fHelp) {

if (!dry_run && !force) {
if (found) {
throw runtime_error("Oustanding MRC request already present in the mempool for CPID.");
throw runtime_error("Outsanding MRC request already present in the mempool for CPID.");
}

if (pos >= limit) {
Expand Down
2 changes: 1 addition & 1 deletion src/test/gridcoin/mrc_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ struct Setup {
pindex->nVersion = 12;
pindex->phashBlock = phash;
// Needed because this code does not mock superblocks and inclusion of m_accrual
// into the calculated accrual is dependant on a block's height being
// into the calculated accrual is dependent on a block's height being
// lower than the last superblock's.
// TODO(div72): Improve mockability of Tally.
pindex->nHeight = -1;
Expand Down
2 changes: 1 addition & 1 deletion src/test/util_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ BOOST_AUTO_TEST_CASE(util_HexStr)

BOOST_AUTO_TEST_CASE(util_DateTimeStrFormat)
{
/*These are platform-dependant and thus removed to avoid useless test failures
/*These are platform-dependent and thus removed to avoid useless test failures
BOOST_CHECK_EQUAL(DateTimeStrFormat("%x %H:%M:%S", 0), "01/01/70 00:00:00");
BOOST_CHECK_EQUAL(DateTimeStrFormat("%x %H:%M:%S", 0x7FFFFFFF), "01/19/38 03:14:07");
// Formats used within Bitcoin
Expand Down

0 comments on commit 7de71a0

Please sign in to comment.