mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-16 18:00:46 +00:00
p2p/simulations: fix staticcheck warning SA1029
This commit is contained in:
parent
2844dbc5a9
commit
48b1688e84
1 changed files with 2 additions and 0 deletions
|
|
@ -721,6 +721,7 @@ func (s *Server) wrapHandler(handler http.HandlerFunc) httprouter.Handle {
|
||||||
http.NotFound(w, req)
|
http.NotFound(w, req)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
//lint:ignore SA1029 This file will be removed later, reference: #30250
|
||||||
ctx = context.WithValue(ctx, "node", node)
|
ctx = context.WithValue(ctx, "node", node)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -735,6 +736,7 @@ func (s *Server) wrapHandler(handler http.HandlerFunc) httprouter.Handle {
|
||||||
http.NotFound(w, req)
|
http.NotFound(w, req)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
//lint:ignore SA1029 This file will be removed later, reference: #30250
|
||||||
ctx = context.WithValue(ctx, "peer", peer)
|
ctx = context.WithValue(ctx, "peer", peer)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue