diff --git a/qa/rpc-tests/receivedby.py b/qa/rpc-tests/receivedby.py index c91cc56ea..85ca57680 100755 --- a/qa/rpc-tests/receivedby.py +++ b/qa/rpc-tests/receivedby.py @@ -14,7 +14,7 @@ from decimal import Decimal def get_sub_array_from_array(object_array, to_match): ''' Finds and returns a sub array from an array of arrays. - to_match should be a unique idetifier of a sub array + to_match should be a unique identifier of a sub array ''' for item in object_array: all_match = True diff --git a/src/cuckoocache.h b/src/cuckoocache.h index 14bcd98c6..e34ddd18e 100644 --- a/src/cuckoocache.h +++ b/src/cuckoocache.h @@ -281,7 +281,7 @@ private: * * First, epoch_check decrements and checks the cheap heuristic, and then does * a more expensive scan if the cheap heuristic runs out. If the expensive - * scan suceeds, the epochs are aged and old elements are allow_erased. The + * scan succeeds, the epochs are aged and old elements are allow_erased. The * cheap heuristic is reset to retrigger after the worst case growth of the * current epoch's elements would exceed the epoch_size. */ diff --git a/src/test/merkle_tests.cpp b/src/test/merkle_tests.cpp index 20cacad8e..e2086a264 100644 --- a/src/test/merkle_tests.cpp +++ b/src/test/merkle_tests.cpp @@ -235,7 +235,7 @@ BOOST_AUTO_TEST_CASE(merkle_test) // If no mutation was done (once for every ntx value), try up to 16 branches. if (mutate == 0) { for (int loop = 0; loop < std::min(ntx, 16); loop++) { - // If ntx <= 16, try all branches. Otherise, try 16 random ones. + // If ntx <= 16, try all branches. Otherwise, try 16 random ones. int mtx = loop; if (ntx > 16) { mtx = InsecureRandRange(ntx);