Skip to content

Commit

Permalink
Merge bitcoin/bitcoin#31673: doc: fix minor typos in comments
Browse files Browse the repository at this point in the history
b30cc71 doc: fix typos (Adlai Chandrasekhar)

Pull request description:

  In the unrelated PR #31621 the linter reported a few typos, that are fixed in this commit. I used the "doc" prefix as it only modifies comments, so none of the more significant prefixes seem appropriate.

ACKs for top commit:
  maflcko:
    lgtm ACK b30cc71

Tree-SHA512: 7bba2d928fc0b98f62f96d9abf6dba98f699b386b75730271fa3e7b57a8a220df2265b699007f066e585e1db2ee3cbe5a272b74a8c153f6f8814c01e6de7a3ee
  • Loading branch information
fanquake committed Jan 16, 2025
2 parents df8bf65 + b30cc71 commit 9dc4eed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/test/miner_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ BOOST_AUTO_TEST_CASE(CreateNewBlock_validity)
{
LOCK(cs_main);
// The above calls don't guarantee the tip is actually updated, so
// we explictly check this.
// we explicitly check this.
auto maybe_new_tip{Assert(m_node.chainman)->ActiveChain().Tip()};
BOOST_REQUIRE_EQUAL(maybe_new_tip->GetBlockHash(), block.GetHash());
}
Expand Down
2 changes: 1 addition & 1 deletion src/txorphanage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void TxOrphanage::EraseForPeer(NodeId peer)
if (orphan_it != orphan.announcers.end()) {
orphan.announcers.erase(peer);

// No remaining annnouncers: clean up entry
// No remaining announcers: clean up entry
if (orphan.announcers.empty()) {
nErased += EraseTx(orphan.tx->GetWitnessHash());
}
Expand Down
2 changes: 1 addition & 1 deletion test/functional/wallet_encryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def do_wallet_tool(*args):
dumpfile_path = self.nodes[0].datadir_path / "noprivs_enc.dump"
do_wallet_tool("-wallet=noprivs_enc", f"-dumpfile={dumpfile_path}", "dump")
with open(dumpfile_path, "r", encoding="utf-8") as f:
# Check theres nothing with an 'mkey' prefix
# Check there's nothing with an 'mkey' prefix
assert_equal(all([not line.startswith("046d6b6579") for line in f]), True)


Expand Down

0 comments on commit 9dc4eed

Please sign in to comment.