From 644c75658b3e538ff17308077534eb7b650d955e Mon Sep 17 00:00:00 2001 From: snoppy Date: Wed, 20 Mar 2024 15:33:53 +0800 Subject: [PATCH] fix typos --- src/ripple/app/misc/TxQ.h | 2 +- src/ripple/app/paths/impl/Steps.h | 2 +- src/ripple/app/reporting/ETLSource.cpp | 2 +- src/ripple/app/tx/impl/NFTokenAcceptOffer.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ripple/app/misc/TxQ.h b/src/ripple/app/misc/TxQ.h index c7bd1f1d3d7..7be29b49021 100644 --- a/src/ripple/app/misc/TxQ.h +++ b/src/ripple/app/misc/TxQ.h @@ -322,7 +322,7 @@ class TxQ /** * @brief Returns minimum required fee for tx and two sequences: - * first vaild sequence for this account in current ledger + * first valid sequence for this account in current ledger * and first available sequence for transaction * @param view current open ledger * @param tx the transaction diff --git a/src/ripple/app/paths/impl/Steps.h b/src/ripple/app/paths/impl/Steps.h index 1ae2273929d..033b9696f1d 100644 --- a/src/ripple/app/paths/impl/Steps.h +++ b/src/ripple/app/paths/impl/Steps.h @@ -417,7 +417,7 @@ toStrand( quality of the tip of the book drops below this value, then evaluating the strand can stop. @param sendMax Optional asset to send. - @param paths Paths to use to fullfill the payment. Each path in the pathset + @param paths Paths to use to fulfill the payment. Each path in the pathset contains an ordered collection of the offer books to use and accounts to ripple through. @param addDefaultPath Determines if the default path should be included diff --git a/src/ripple/app/reporting/ETLSource.cpp b/src/ripple/app/reporting/ETLSource.cpp index be31f4fdfa9..73ba9816950 100644 --- a/src/ripple/app/reporting/ETLSource.cpp +++ b/src/ripple/app/reporting/ETLSource.cpp @@ -27,7 +27,7 @@ namespace ripple { // Create ETL source without grpc endpoint // Fetch ledger and load initial ledger will fail for this source -// Primarly used in read-only mode, to monitor when ledgers are validated +// Primarily used in read-only mode, to monitor when ledgers are validated ETLSource::ETLSource(std::string ip, std::string wsPort, ReportingETL& etl) : ip_(ip) , wsPort_(wsPort) diff --git a/src/ripple/app/tx/impl/NFTokenAcceptOffer.cpp b/src/ripple/app/tx/impl/NFTokenAcceptOffer.cpp index 02471c1d482..3b6aaf60ea1 100644 --- a/src/ripple/app/tx/impl/NFTokenAcceptOffer.cpp +++ b/src/ripple/app/tx/impl/NFTokenAcceptOffer.cpp @@ -259,7 +259,7 @@ NFTokenAcceptOffer::preclaim(PreclaimContext const& ctx) // We also _must not_ check the tx submitter in brokered // mode, because then we are confirming that the broker can // cover what the buyer will pay, which doesn't make sense, causes - // an unncessary tec, and is also resolved with this amendment. + // an unnecessary tec, and is also resolved with this amendment. if (accountFunds( ctx.view, ctx.tx[sfAccount],