From fae38c3dc6a2dc633c236a0c27ca5a642767033e Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Fri, 22 Mar 2019 13:21:58 -0400 Subject: [PATCH] doc: Fix all typos reported by codespell --- doc/release-notes.md | 2 +- src/validation.cpp | 2 +- test/functional/test_framework/test_node.py | 2 +- test/functional/wallet_importmulti.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/release-notes.md b/doc/release-notes.md index 4faf64a32..c8c212abb 100644 --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -77,7 +77,7 @@ Configuration ------------ * An error is issued where previously a warning was issued when a setting in - the config file was specified in the default section, but not overriden for + the config file was specified in the default section, but not overridden for the selected network. This change takes only effect if the selected network is not mainnet. diff --git a/src/validation.cpp b/src/validation.cpp index a9b5bcf4a..21319b67c 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -2803,7 +2803,7 @@ bool CChainState::InvalidateBlock(CValidationState& state, const CChainParams& c bool ret = DisconnectTip(state, chainparams, &disconnectpool); // DisconnectTip will add transactions to disconnectpool. // Adjust the mempool to be consistent with the new tip, adding - // transactions back to the mempool if disconnecting was succesful, + // transactions back to the mempool if disconnecting was successful, // and we're not doing a very deep invalidation (in which case // keeping the mempool up to date is probably futile anyway). UpdateMempoolForReorg(disconnectpool, /* fAddToMempool = */ (++disconnected <= 10) && ret); diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py index ec5d3b267..8b2006a05 100755 --- a/test/functional/test_framework/test_node.py +++ b/test/functional/test_framework/test_node.py @@ -369,7 +369,7 @@ class TestNode(): stderr=subprocess.DEVNULL, stdout=subprocess.DEVNULL) == 0 if not sys.platform.startswith('linux'): - self.log.warning("Can't profile with perf; only availabe on Linux platforms") + self.log.warning("Can't profile with perf; only available on Linux platforms") return None if not test_success('which perf'): diff --git a/test/functional/wallet_importmulti.py b/test/functional/wallet_importmulti.py index 5bfbaa2f0..143e67950 100755 --- a/test/functional/wallet_importmulti.py +++ b/test/functional/wallet_importmulti.py @@ -759,7 +759,7 @@ class ImportMultiTest(BitcoinTestFramework): assert_equal(addr2, newaddr2) # Import a multisig and make sure the keys don't go into the keypool - self.log.info('Imported scripts with pubkeys shoud not have their pubkeys go into the keypool') + self.log.info('Imported scripts with pubkeys should not have their pubkeys go into the keypool') addr1 = self.nodes[0].getnewaddress() addr2 = self.nodes[0].getnewaddress() pub1 = self.nodes[0].getaddressinfo(addr1)['pubkey']