From c2f5c9b07a65e1360d57f81741b45255bb092feb Mon Sep 17 00:00:00 2001 From: code0xff <31336310+code0xff@users.noreply.github.com> Date: Fri, 20 Feb 2026 03:56:59 +0900 Subject: [PATCH] chore: Fix small typos in protocol files (#5279) --- include/xrpl/protocol/AccountID.h | 2 +- include/xrpl/protocol/Sign.h | 2 +- include/xrpl/protocol/TxFormats.h | 2 +- src/xrpld/app/main/Main.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/xrpl/protocol/AccountID.h b/include/xrpl/protocol/AccountID.h index 7edf8d388..2677dd76b 100644 --- a/include/xrpl/protocol/AccountID.h +++ b/include/xrpl/protocol/AccountID.h @@ -114,7 +114,7 @@ operator<<(std::ostream& os, AccountID const& x) is expensive (it requires a SHA-256 operation) in most cases the overhead of the cache is worth the benefit. - @param count The number of entries the cache should accomodate. Zero will + @param count The number of entries the cache should accommodate. Zero will disable the cache, releasing any memory associated with it. @note The function will only initialize the cache the first time it is diff --git a/include/xrpl/protocol/Sign.h b/include/xrpl/protocol/Sign.h index 30fbb2624..dcbe5dfd0 100644 --- a/include/xrpl/protocol/Sign.h +++ b/include/xrpl/protocol/Sign.h @@ -75,7 +75,7 @@ buildMultiSigningData(STObject const& obj, AccountID const& signingID); The following methods support that optimization: 1. startMultiSigningData provides the large part which can be shared. - 2. finishMuiltiSigningData caps the passed in serializer with each + 2. finishMultiSigningData caps the passed in serializer with each signer's unique data. */ Serializer diff --git a/include/xrpl/protocol/TxFormats.h b/include/xrpl/protocol/TxFormats.h index d1d22262a..57f7a26c2 100644 --- a/include/xrpl/protocol/TxFormats.h +++ b/include/xrpl/protocol/TxFormats.h @@ -30,7 +30,7 @@ namespace ripple { @ingroup protocol */ -/** Transaction type identifieers +/** Transaction type identifiers Each ledger object requires a unique type identifier, which is stored within the object itself; this makes it possible to iterate the entire diff --git a/src/xrpld/app/main/Main.cpp b/src/xrpld/app/main/Main.cpp index ef8e05d27..f662e282f 100644 --- a/src/xrpld/app/main/Main.cpp +++ b/src/xrpld/app/main/Main.cpp @@ -55,7 +55,7 @@ #include #endif -// Do we know the plaform we're compiling on? If you're adding new platforms +// Do we know the platform we're compiling on? If you're adding new platforms // modify this check accordingly. #if !BOOST_OS_LINUX && !BOOST_OS_WINDOWS && !BOOST_OS_MACOS #error Supported platforms are: Linux, Windows and MacOS