Skip to content

Commit 9779e8f

Browse files
committed
crypto: fix typos in comments (ethereum#29186)
1 parent 6236bfe commit 9779e8f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crypto/kzg4844/kzg4844.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ type Claim [32]byte
8585
var useCKZG atomic.Bool
8686

8787
// UseCKZG can be called to switch the default Go implementation of KZG to the C
88-
// library if fo some reason the user wishes to do so (e.g. consensus bug in one
88+
// library if for some reason the user wishes to do so (e.g. consensus bug in one
8989
// or the other).
9090
func UseCKZG(use bool) error {
9191
if use && !ckzgAvailable {

crypto/secp256k1/libsecp256k1/include/secp256k1.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ SECP256K1_API int secp256k1_ecdsa_signature_serialize_compact(
357357
/** Verify an ECDSA signature.
358358
*
359359
* Returns: 1: correct signature
360-
* 0: incorrect or unparseable signature
360+
* 0: incorrect or unparsable signature
361361
* Args: ctx: a secp256k1 context object, initialized for verification.
362362
* In: sig: the signature being verified (cannot be NULL)
363363
* msg32: the 32-byte message hash being verified (cannot be NULL)

crypto/secp256k1/libsecp256k1/sage/group_prover.sage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# - A constraint describing the requirements of the law, called "require"
1818
# * Implementations are transliterated into functions that operate as well on
1919
# algebraic input points, and are called once per combination of branches
20-
# exectured. Each execution returns:
20+
# executed. Each execution returns:
2121
# - A constraint describing the assumptions this implementation requires
2222
# (such as Z1=1), called "assumeFormula"
2323
# - A constraint describing the assumptions this specific branch requires,

0 commit comments

Comments
 (0)