MCPcopy Create free account
hub / github.com/ethstorage/es-node / newBadRequestError

Function newBadRequestError

ethstorage/archiver/utils.go:81–86  ·  view source on GitHub ↗
(input string)

Source from the content-addressed store, hash-verified

79)
80
81func newBadRequestError(input string) *httpError {
82 return &httpError{
83 Code: http.StatusBadRequest,
84 Message: input,
85 }
86}
87
88func parseVersionedHashes(r *http.Request) ([]common.Hash, *httpError) {
89 query := r.URL.Query()

Callers 3

Test_parseIndicesFunction · 0.85
validateBlockIDFunction · 0.85
parseIndicesFunction · 0.85

Calls

no outgoing calls

Tested by 1

Test_parseIndicesFunction · 0.68