Skip to content

Commit

Permalink
Fix issue with proxying headers from nodeos
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreyssmith2nd committed May 31, 2018
1 parent 32f22d6 commit 2914d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func forwardCallToNodeos(w http.ResponseWriter, r *http.Request) {
logFailure("TRANSACTION_FAILED", nil, r)
}

copyHeaders(w.Header(), r.Header)
copyHeaders(w.Header(), res.Header)
w.WriteHeader(res.StatusCode)
_, err = w.Write(body)
if err != nil {
Expand Down

0 comments on commit 2914d75

Please sign in to comment.