diff --git a/src/ripple/app/paths/impl/Steps.h b/src/ripple/app/paths/impl/Steps.h index 033b9696f1d..2a4bfe310dd 100644 --- a/src/ripple/app/paths/impl/Steps.h +++ b/src/ripple/app/paths/impl/Steps.h @@ -89,7 +89,7 @@ class Step subject to liquidity limits @param sb view with the strand's state of balances and offers - @param afView view the the state of balances before the strand runs + @param afView view the state of balances before the strand runs this determines if an offer becomes unfunded or is found unfunded @param ofrsToRm offers found unfunded or in an error state are added to this collection @@ -107,7 +107,7 @@ class Step subject to liquidity limits @param sb view with the strand's state of balances and offers - @param afView view the the state of balances before the strand runs + @param afView view the state of balances before the strand runs this determines if an offer becomes unfunded or is found unfunded @param ofrsToRm offers found unfunded or in an error state are added to this collection @@ -256,7 +256,7 @@ class Step Check that the step can correctly execute in the forward direction @param sb view with the strands state of balances and offers - @param afView view the the state of balances before the strand runs + @param afView view the state of balances before the strand runs this determines if an offer becomes unfunded or is found unfunded @param in requested step input @return first element is true if step is valid, second element is out diff --git a/src/ripple/ledger/impl/ApplyView.cpp b/src/ripple/ledger/impl/ApplyView.cpp index eced521fb5d..53dc073c33d 100644 --- a/src/ripple/ledger/impl/ApplyView.cpp +++ b/src/ripple/ledger/impl/ApplyView.cpp @@ -313,7 +313,7 @@ ApplyView::dirRemove( prev->setFieldU64(sfIndexNext, rootPage); update(prev); - // And the root points to the the last page: + // And the root points to the last page: auto root = peek(keylet::page(directory, rootPage)); if (!root) LogicError("Directory chain: root link broken."); diff --git a/src/ripple/ledger/impl/PaymentSandbox.cpp b/src/ripple/ledger/impl/PaymentSandbox.cpp index bbe2c313491..45a57cd30d6 100644 --- a/src/ripple/ledger/impl/PaymentSandbox.cpp +++ b/src/ripple/ledger/impl/PaymentSandbox.cpp @@ -180,7 +180,7 @@ PaymentSandbox::balanceHook( algorithm remembers the original balance, and subtracts the debits. The post-switchover algorithm should be more numerically stable. Consider a large credit with a small initial balance. The pre-switchover algorithm - computes (B+C)-C (where B+C will the the amount passed in). The + computes (B+C)-C (where B+C will the amount passed in). The post-switchover algorithm returns B. When B and C differ by large magnitudes, (B+C)-C may not equal B. */ diff --git a/src/test/app/NFToken_test.cpp b/src/test/app/NFToken_test.cpp index 8740b521132..9a5ace19b1e 100644 --- a/src/test/app/NFToken_test.cpp +++ b/src/test/app/NFToken_test.cpp @@ -6306,7 +6306,7 @@ class NFTokenBaseUtil_test : public beast::unit_test::suite } // When an account mints and burns a batch of NFTokens using tickets, - // see if the the account can be deleted. + // see if the account can be deleted. { Env env{*this, features}; diff --git a/src/test/consensus/Consensus_test.cpp b/src/test/consensus/Consensus_test.cpp index 5c7dc2626fe..1ef1a718d3c 100644 --- a/src/test/consensus/Consensus_test.cpp +++ b/src/test/consensus/Consensus_test.cpp @@ -806,7 +806,7 @@ class Consensus_test : public beast::unit_test::suite on(csf::PeerID who, csf::SimTime, csf::FullyValidateLedger const& e) { using namespace std::chrono; - // As soon as the the fastC node fully validates C, disconnect + // As soon as the fastC node fully validates C, disconnect // ALL c nodes from the network. The fast C node needs to disconnect // as well to prevent it from relaying the validations it did see if (who == groupCfast[0]->id && diff --git a/src/test/csf/BasicNetwork.h b/src/test/csf/BasicNetwork.h index 3ce159a2333..a70ee6a3613 100644 --- a/src/test/csf/BasicNetwork.h +++ b/src/test/csf/BasicNetwork.h @@ -51,7 +51,7 @@ namespace csf { at either end of the connection will not be delivered. When creating the Peer set, the caller needs to provide a - Scheduler object for managing the the timing and delivery + Scheduler object for managing the timing and delivery of messages. After constructing the network, and establishing connections, the caller uses the scheduler's step_* functions to drive messages through the network. diff --git a/src/test/rpc/DepositAuthorized_test.cpp b/src/test/rpc/DepositAuthorized_test.cpp index 42b871e31e5..128d91f739d 100644 --- a/src/test/rpc/DepositAuthorized_test.cpp +++ b/src/test/rpc/DepositAuthorized_test.cpp @@ -128,7 +128,7 @@ class DepositAuthorized_test : public beast::unit_test::suite depositAuthArgs(carol, becky).toStyledString()), false); - // becky clears the the DepositAuth flag so carol becomes authorized. + // becky clears the DepositAuth flag so carol becomes authorized. env(fclear(becky, asfDepositAuth)); env.close();