From fb2428fb2eff87150d40d84b83c66ccdd7ea47b3 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 3 Dec 2024 12:14:13 +0200 Subject: Bug fix --- src/js/arching-kaos-tools.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/js/arching-kaos-tools.js') 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]); } } -- cgit v1.2.3