aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaeik Lim <sibera21@gmail.com>2022-02-17 02:50:34 +0900
committerTaeik Lim <sibera21@gmail.com>2022-02-17 03:42:08 +0900
commitba4906f951d9f436d9669701fdb3b6e2884121f3 (patch)
tree3a508b83680e61f24f573419d0cc7dc0506ae561
parent1e8aa02ec5cc2819c67ef40a7573c4b23a4c11cc (diff)
downloadbitcoin-ba4906f951d9f436d9669701fdb3b6e2884121f3.tar.xz
doc: Fix typos
-rw-r--r--src/crypto/sha256_arm_shani.cpp2
-rw-r--r--src/node/blockstorage.cpp2
-rw-r--r--src/wallet/test/wallet_tests.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/crypto/sha256_arm_shani.cpp b/src/crypto/sha256_arm_shani.cpp
index 7ffa56be70..2ea1d9c2ac 100644
--- a/src/crypto/sha256_arm_shani.cpp
+++ b/src/crypto/sha256_arm_shani.cpp
@@ -62,7 +62,7 @@ void Transform(uint32_t* s, const unsigned char* chunk, size_t blocks)
MSG3 = vreinterpretq_u32_u8(vrev32q_u8(vld1q_u8(chunk + 48)));
chunk += 64;
- // Original implemenation preloaded message and constant addition which was 1-3% slower.
+ // Original implementation preloaded message and constant addition which was 1-3% slower.
// Now included as first step in quad round code saving one Q Neon register
// "TMP0 = vaddq_u32(MSG0, vld1q_u32(&K[0]));"
diff --git a/src/node/blockstorage.cpp b/src/node/blockstorage.cpp
index 7691c9a5ce..8a99130fd0 100644
--- a/src/node/blockstorage.cpp
+++ b/src/node/blockstorage.cpp
@@ -295,7 +295,7 @@ bool BlockManager::LoadBlockIndex(
// them from the background chainstate's setBlockIndexCandidates set. This
// does mean that some blocks which are not technically assumed-valid
// (later blocks on a fork beginning before the first assumed-valid block)
- // might not get added to the the background chainstate, but this is ok,
+ // might not get added to the background chainstate, but this is ok,
// because they will still be attached to the active chainstate if they
// actually contain more work.
//
diff --git a/src/wallet/test/wallet_tests.cpp b/src/wallet/test/wallet_tests.cpp
index 8ef0d46c4f..7693c9c0e8 100644
--- a/src/wallet/test/wallet_tests.cpp
+++ b/src/wallet/test/wallet_tests.cpp
@@ -426,7 +426,7 @@ BOOST_AUTO_TEST_CASE(LoadReceiveRequests)
// Test some watch-only LegacyScriptPubKeyMan methods by the procedure of loading (LoadWatchOnly),
// checking (HaveWatchOnly), getting (GetWatchPubKey) and removing (RemoveWatchOnly) a
-// given PubKey, resp. its corresponding P2PK Script. Results of the the impact on
+// given PubKey, resp. its corresponding P2PK Script. Results of the impact on
// the address -> PubKey map is dependent on whether the PubKey is a point on the curve
static void TestWatchOnlyPubKey(LegacyScriptPubKeyMan* spk_man, const CPubKey& add_pubkey)
{