mirror of https://github.com/status-im/op-geth.git
swarm/api/http: bzz-immutable wrong handler bug (#17602)
This commit is contained in:
parent
70d31fb278
commit
8b9b149d54
|
@ -129,7 +129,7 @@ func NewServer(api *api.API, corsString string) *Server {
|
|||
})
|
||||
mux.Handle("/bzz-immutable:/", methodHandler{
|
||||
"GET": Adapt(
|
||||
http.HandlerFunc(server.HandleGet),
|
||||
http.HandlerFunc(server.HandleBzzGet),
|
||||
defaultMiddlewares...,
|
||||
),
|
||||
})
|
||||
|
|
|
@ -672,7 +672,7 @@ func testBzzGetPath(encrypted bool, t *testing.T) {
|
|||
|
||||
nonhashresponses := []string{
|
||||
`cannot resolve name: no DNS to resolve name: "name"`,
|
||||
`cannot resolve nonhash: immutable address not a content hash: "nonhash"`,
|
||||
`cannot resolve nonhash: no DNS to resolve name: "nonhash"`,
|
||||
`cannot resolve nonhash: no DNS to resolve name: "nonhash"`,
|
||||
`cannot resolve nonhash: no DNS to resolve name: "nonhash"`,
|
||||
`cannot resolve nonhash: no DNS to resolve name: "nonhash"`,
|
||||
|
|
Loading…
Reference in New Issue