diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-12-03 12:14:13 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-12-03 12:14:13 +0200 |
commit | fb2428fb2eff87150d40d84b83c66ccdd7ea47b3 (patch) | |
tree | 5fbf7895240c98d0cb82e33b0d67146568872440 /src | |
parent | b7214e0b411071b4c83b252c3bbaa008aac2f26b (diff) | |
download | arching-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')
-rw-r--r-- | src/js/arching-kaos-tools.js | 8 |
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]); } } |