Skip to content
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 app/eth2wrap/eth2wrap_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ func TestOneError(t *testing.T) {
func TestOneTimeout(t *testing.T) {
ctx, cancel := context.WithCancel(context.Background())

// Start an timeout server.
// Start a timeout server.
srv := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
<-ctx.Done()
}))
Expand Down
4 changes: 2 additions & 2 deletions tbls/tbls.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type Implementation interface {
// GenerateSecretKey generates a secret key and returns its compressed serialized representation.
GenerateSecretKey() (PrivateKey, error)

// GenerateInsecureKey generates a insecure deterministic secret key using the provided random number generator
// GenerateInsecureKey generates an insecure deterministic secret key using the provided random number generator
// and returns its compressed serialized representation.
GenerateInsecureKey(t *testing.T, random io.Reader) (PrivateKey, error)

Expand Down Expand Up @@ -81,7 +81,7 @@ func GenerateSecretKey() (PrivateKey, error) {
return impl.GenerateSecretKey()
}

// GenerateInsecureKey generates a insecure deterministic secret key using the provided random number generator
// GenerateInsecureKey generates an insecure deterministic secret key using the provided random number generator
// and returns its compressed serialized representation.
func GenerateInsecureKey(t *testing.T, random io.Reader) (PrivateKey, error) {
t.Helper()
Expand Down
2 changes: 1 addition & 1 deletion testutil/obolapimock/obolapi_exit.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ func cleanTmpl(tmpl string) string {
"").Replace(tmpl)
}

// MockServer returns a Obol API mock test server.
// MockServer returns an Obol API mock test server.
// It returns a http.Handler to be served over HTTP, and a function to add cluster lock files to its database.
func MockServer(dropOnePsig bool, beacon eth2wrap.Client) (http.Handler, func(lock cluster.Lock)) {
ts := testServer{
Expand Down
Loading