Skip to content

Commit

Permalink
Merge pull request #3729 from OriginTrail/v6/prerelease/mainnet
Browse files Browse the repository at this point in the history
8.0.0+hotfix.8 Mainnet Release
  • Loading branch information
Mihajlo-Pavlovic authored Feb 19, 2025
2 parents eb78759 + e50def2 commit 89b126d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "origintrail_node",
"version": "8.0.0+hotfix.7",
"version": "8.0.0+hotfix.8",
"description": "OTNode V8",
"main": "index.js",
"type": "module",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ const parseIp = (req) => {
let xForwardedFor;
let socketRemoteAddress;

if (req.headers['x-forwarded-for']) {
xForwardedFor = req.headers['x-forwarded-for'].split(',').shift();
}

if (req.socket) {
socketRemoteAddress = req.socket.remoteAddress;
}
Expand Down

0 comments on commit 89b126d

Please sign in to comment.