From ccf9106501e92e7f87eaae5127b0c8219c44265c Mon Sep 17 00:00:00 2001 From: Dimitris Apostolou Date: Fri, 6 Jul 2018 14:33:24 +0300 Subject: [PATCH] Fix typos --- doc/Doxyfile | 2 +- src/gtest/test_mempool.cpp | 4 ++-- zcutil/build.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/Doxyfile b/doc/Doxyfile index a423a7e9f..84154e6ec 100644 --- a/doc/Doxyfile +++ b/doc/Doxyfile @@ -870,7 +870,7 @@ HTML_FILE_EXTENSION = .html # standard header. Note that when using a custom header you are responsible # for the proper inclusion of any scripts and style sheets that doxygen # needs, which is dependent on the configuration options used. -# It is adviced to generate a default header using "doxygen -w html +# It is advised to generate a default header using "doxygen -w html # header.html footer.html stylesheet.css YourConfigFile" and then modify # that header. Note that the header is subject to change so you typically # have to redo this when upgrading to a newer version of doxygen or when diff --git a/src/gtest/test_mempool.cpp b/src/gtest/test_mempool.cpp index 1fd4cd7e7..ac29fbea4 100644 --- a/src/gtest/test_mempool.cpp +++ b/src/gtest/test_mempool.cpp @@ -248,7 +248,7 @@ TEST(Mempool, SproutNegativeVersionTxWhenOverwinterActive) { mtx.vjoinsplit.resize(0); // no joinsplits mtx.fOverwintered = false; - // A Sprout transaction with version -3 is created using Sprout code (as found in Zcashd <= 1.0.14). + // A Sprout transaction with version -3 is created using Sprout code (as found in zcashd <= 1.0.14). // First four bytes of transaction, parsed as an uint32_t, has the value: 0xfffffffd // This test simulates an Overwinter node receiving this transaction, but incorrectly deserializing the // transaction due to a (pretend) bug of not detecting the most significant bit, which leads @@ -266,7 +266,7 @@ TEST(Mempool, SproutNegativeVersionTxWhenOverwinterActive) { EXPECT_EQ(state1.GetRejectReason(), "bad-txns-version-too-low"); } - // A Sprout transaction with version -3 created using Overwinter code (as found in Zcashd >= 1.0.15). + // A Sprout transaction with version -3 created using Overwinter code (as found in zcashd >= 1.0.15). // First four bytes of transaction, parsed as an uint32_t, has the value: 0x80000003 // This test simulates the same pretend bug described above. // The resulting Sprout tx with nVersion -2147483645 should be rejected by the Overwinter node's mempool. diff --git a/zcutil/build.sh b/zcutil/build.sh index d86ae99ab..f10d68d74 100755 --- a/zcutil/build.sh +++ b/zcutil/build.sh @@ -41,7 +41,7 @@ if [[ -z "${CXX-}" ]]; then CXX=g++ fi -# Allow users to set arbitary compile flags. Most users will not need this. +# Allow users to set arbitrary compile flags. Most users will not need this. if [[ -z "${CONFIGURE_FLAGS-}" ]]; then CONFIGURE_FLAGS="" fi