mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-03 13:38:39 +00:00
fix lint: trailing newline, goimports alignment
This commit is contained in:
parent
8851d6a5be
commit
0ba2cb154f
4 changed files with 1 additions and 4 deletions
|
|
@ -412,4 +412,3 @@ type ClientVersionV1 struct {
|
||||||
func (v *ClientVersionV1) String() string {
|
func (v *ClientVersionV1) String() string {
|
||||||
return fmt.Sprintf("%s-%s-%s-%s", v.Code, v.Name, v.Version, v.Commit)
|
return fmt.Sprintf("%s-%s-%s-%s", v.Code, v.Name, v.Version, v.Commit)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -152,7 +152,6 @@ func (s *SszRestServer) registerRoutes(mux *http.ServeMux) {
|
||||||
|
|
||||||
// getClientVersion
|
// getClientVersion
|
||||||
mux.HandleFunc("POST /engine/v1/get_client_version", s.handleGetClientVersion)
|
mux.HandleFunc("POST /engine/v1/get_client_version", s.handleGetClientVersion)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// --- newPayload handlers ---
|
// --- newPayload handlers ---
|
||||||
|
|
|
||||||
|
|
@ -139,4 +139,3 @@ func TestSszRestSuccessFormat(t *testing.T) {
|
||||||
t.Errorf("body mismatch")
|
t.Errorf("body mismatch")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue