aboutsummaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-12-03 12:14:13 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-12-03 12:14:13 +0200
commitfb2428fb2eff87150d40d84b83c66ccdd7ea47b3 (patch)
tree5fbf7895240c98d0cb82e33b0d67146568872440 /src/js
parentb7214e0b411071b4c83b252c3bbaa008aac2f26b (diff)
downloadarching-kaos-web-ui-fb2428fb2eff87150d40d84b83c66ccdd7ea47b3.tar.gz
arching-kaos-web-ui-fb2428fb2eff87150d40d84b83c66ccdd7ea47b3.tar.bz2
arching-kaos-web-ui-fb2428fb2eff87150d40d84b83c66ccdd7ea47b3.zip
Bug fix
Diffstat (limited to 'src/js')
-rw-r--r--src/js/arching-kaos-tools.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/js/arching-kaos-tools.js b/src/js/arching-kaos-tools.js
index 8918f11..310ca62 100644
--- a/src/js/arching-kaos-tools.js
+++ b/src/js/arching-kaos-tools.js
@@ -570,9 +570,11 @@ function initCrawlSchain(json)
}
}
-function checkPeers(json){
- for ( var peer = 0; peer < json; peer++){
- archingKaosLog("Checking peer: "+json[peer].cjdns.ip)
+function checkPeers(json)
+{
+ for ( var peer = 0; peer < json.length; peer++)
+ {
+ archingKaosLog("Checking peer: "+json[peer].cjdns.ip);
checkIfZchainAndProceed(json[peer].node_info, [json[peer].node_info.gpg]);
}
}