Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
adding logging for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
phutchins committed Jul 28, 2017
1 parent df8c06e commit c8f96f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/network/transport.js
Expand Up @@ -217,6 +217,8 @@ Transport.prototype._routeTunnelProxies = function(req, res, next) {
var targetNodeId = req.header('x-storj-node-id');
var upgradeReq = res.claimUpgrade ? res.claimUpgrade() : null;

console.log('returning next.......................................................');
return next();
if (!targetNodeId || targetNodeId === self._contact.nodeID) {
return next();
}
Expand Down

0 comments on commit c8f96f4

Please sign in to comment.