Skip to content

Commit

Permalink
chore: fix typos (#4958)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoxianBoy committed Apr 25, 2024
1 parent e9859ac commit b422e71
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/ripple/app/misc/TxQ.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/ripple/app/paths/impl/Steps.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/ripple/app/reporting/ETLSource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/ripple/app/tx/impl/NFTokenAcceptOffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit b422e71

Please sign in to comment.