Skip to content

Commit

Permalink
Network: Fix Undefined ExitNode in map.peers
Browse files Browse the repository at this point in the history
  • Loading branch information
Jisse-Meruma authored and yuri91 committed Nov 22, 2024
1 parent 6493d81 commit d71253c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function netmapUpdateCb(map)
{
networkData.currentIp = map.self.addresses[0];
var exitNodeFound = false;
for(var i=0;map.peers.length;i++)
for(var i=0; i < map.peers.length;i++)
{
if(map.peers[i].exitNode)
{
Expand Down

0 comments on commit d71253c

Please sign in to comment.