Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove repeat words #5053

Merged
merged 2 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion external/secp256k1/src/secp256k1.c
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ static int secp256k1_ecdsa_sign_inner(const secp256k1_context* ctx, secp256k1_sc
break;
}
is_nonce_valid = secp256k1_scalar_set_b32_seckey(&non, nonce32);
/* The nonce is still secret here, but it being invalid is is less likely than 1:2^255. */
/* The nonce is still secret here, but it being invalid is less likely than 1:2^255. */
secp256k1_declassify(ctx, &is_nonce_valid, sizeof(is_nonce_valid));
if (is_nonce_valid) {
ret = secp256k1_ecdsa_sig_sign(&ctx->ecmult_gen_ctx, r, s, &sec, &msg, &non, recid);
Expand Down
2 changes: 1 addition & 1 deletion src/test/csf/CollectorRef.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace csf {
level when adding to the simulation.

The example code below demonstrates the reason for storing the collector
as a reference. The collector's lifetime will generally be be longer than
as a reference. The collector's lifetime will generally be longer than
the simulation; perhaps several simulations are run for a single collector
instance. The collector potentially stores lots of data as well, so the
simulation needs to point to the single instance, rather than requiring
Expand Down
2 changes: 1 addition & 1 deletion src/test/csf/Digraph.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class Digraph
@param fileName The output file (creates)
@param vertexName A invokable T vertexName(Vertex const &) that
returns the name target use for the vertex in the file
T must be be ostream-able
T must be ostream-able
*/
template <class VertexName>
void
Expand Down
2 changes: 1 addition & 1 deletion src/xrpld/shamap/detail/TaggedPointer.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace ripple {
low bits. When dereferencing the pointer, these low "tag" bits are set to
zero. When accessing the tag bits, the high "pointer" bits are set to zero.

The "pointer" part points to to the equivalent to an array of
The "pointer" part points to the equivalent to an array of
`SHAMapHash` followed immediately by an array of
`shared_ptr<SHAMapTreeNode>`. The sizes of these arrays are
determined by the tag. The tag is an index into an array (`boundaries`,
Expand Down
2 changes: 1 addition & 1 deletion src/xrpld/shamap/detail/TaggedPointer.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ TaggedPointer::getChildIndex(std::uint16_t isBranch, int i) const
// of a child in the array is the number of non-empty children
// before it. Since `isBranch_` is a bitset of the stored
// children, we simply need to mask out (and set to zero) all
// the bits in `isBranch_` equal to to higher than `i` and count
// the bits in `isBranch_` equal to higher than `i` and count
// the bits.

// mask sets all the bits >=i to zero and all the bits <i to
Expand Down
Loading