From b30cc71e853cbaaec66e7e23d7d1a32468079ee0 Mon Sep 17 00:00:00 2001 From: Adlai Chandrasekhar Date: Thu, 16 Jan 2025 17:29:12 +0200 Subject: [PATCH] doc: fix typos --- src/test/miner_tests.cpp | 2 +- src/txorphanage.cpp | 2 +- test/functional/wallet_encryption.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/miner_tests.cpp b/src/test/miner_tests.cpp index d7bc790d0e4..5bfcde77183 100644 --- a/src/test/miner_tests.cpp +++ b/src/test/miner_tests.cpp @@ -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()); } diff --git a/src/txorphanage.cpp b/src/txorphanage.cpp index 90b3381428b..07f7fa021fd 100644 --- a/src/txorphanage.cpp +++ b/src/txorphanage.cpp @@ -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()); } diff --git a/test/functional/wallet_encryption.py b/test/functional/wallet_encryption.py index b30a1478ab5..5e131405f1c 100755 --- a/test/functional/wallet_encryption.py +++ b/test/functional/wallet_encryption.py @@ -158,7 +158,7 @@ class WalletEncryptionTest(BitcoinTestFramework): 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)