Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tudor-malene committed Mar 18, 2024
1 parent 9a9232f commit 015b137
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/gethfork/node/extract_params_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package node

import (
"context"
"fmt"
"net/http"

"github.com/ten-protocol/go-ten/lib/gethfork/rpc"
Expand All @@ -27,6 +28,7 @@ func (handler *httpParamsHandler) ServeHTTP(out http.ResponseWriter, r *http.Req
if len(val) > 0 {
ctx := context.WithValue(r.Context(), rpc.GWTokenKey{}, val)
handler.next.ServeHTTP(out, r.WithContext(ctx))
fmt.Printf("Header: %v\n", r.Header)
}
handler.next.ServeHTTP(out, r)
}

0 comments on commit 015b137

Please sign in to comment.