chore: fix typos (#4958)

This commit is contained in:
Snoppy
2024-04-26 01:05:12 +08:00
committed by GitHub
parent e9859ac1b1
commit b422e71eed
4 changed files with 4 additions and 4 deletions

View File

@@ -322,7 +322,7 @@ public:
/**
* @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

View File

@@ -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

View File

@@ -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)

View File

@@ -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],