From 0a3005e70b1dff7d827ee7a70abb71f8744adfaf Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 27 Dec 2023 17:07:05 +0200 Subject: Fixed a bug and beautified some function --- src/js/arching-kaos-tools.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (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 2398df1..7d73cf5 100644 --- a/src/js/arching-kaos-tools.js +++ b/src/js/arching-kaos-tools.js @@ -38,6 +38,9 @@ function akidRender(json, stellarAddress){ function akidRenderAndProceed(json, stellarAddress){ akidRender(json, stellarAddress); participants[stellarAddress]=json; + if ( stellarParticipantsScanned === 0 ) { + archingKaosLog('END'); + } progressPlaceholder.value++; zseek(json.zchain,stellarAddress,json); } @@ -504,7 +507,7 @@ function exe(action,dataIPFSHash,blockObject,zblockIPFSHash,zchainIPNSLink,zbloc } function getipfstext(ipfsHash, articleid){ - fetch( getIPFSURL(ipfsHash), { + fetch(getIPFSURL(ipfsHash), { method:'GET', headers:{ Accept: 'text/plain' -- cgit v1.2.3