Skip to content

Commit

Permalink
chore: remove repetitive words
Browse files Browse the repository at this point in the history
Signed-off-by: evenevent <[email protected]>
  • Loading branch information
evenevent committed Aug 13, 2024
1 parent 253978c commit 00e4bf0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/qt/messagemodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ class MessageTablePriv

return FailedErrorShown;
};
// Add addresses / update labels that we've sent to to the address book
// Add addresses / update labels that we've sent to the address book
std::string strAddress = rcp.address.toStdString();
CTxDestination dest = CDarkSilkAddress(strAddress).Get();
std::string strLabel = rcp.label.toStdString();
Expand Down
2 changes: 1 addition & 1 deletion src/secp256k1/src/modinv32_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ static void secp256k1_modinv32_normalize_30(secp256k1_modinv32_signed30 *r, int3
/* In a first step, add the modulus if the input is negative, and then negate if requested.
* This brings r from range (-2*modulus,modulus) to range (-modulus,modulus). As all input
* limbs are in range (-2^30,2^30), this cannot overflow an int32_t. Note that the right
* shifts below are signed sign-extending shifts (see assumptions.h for tests that that is
* shifts below are signed sign-extending shifts (see assumptions.h for tests that is
* indeed the behavior of the right shift operator). */
cond_add = r8 >> 31;
r0 += modinfo->modulus.v[0] & cond_add;
Expand Down
2 changes: 1 addition & 1 deletion src/secp256k1/src/modinv64_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static void secp256k1_modinv64_normalize_62(secp256k1_modinv64_signed62 *r, int6
/* In a first step, add the modulus if the input is negative, and then negate if requested.
* This brings r from range (-2*modulus,modulus) to range (-modulus,modulus). As all input
* limbs are in range (-2^62,2^62), this cannot overflow an int64_t. Note that the right
* shifts below are signed sign-extending shifts (see assumptions.h for tests that that is
* shifts below are signed sign-extending shifts (see assumptions.h for tests that is
* indeed the behavior of the right shift operator). */
cond_add = r4 >> 63;
r0 += modinfo->modulus.v[0] & cond_add;
Expand Down
2 changes: 1 addition & 1 deletion src/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

0 comments on commit 00e4bf0

Please sign in to comment.