diff --git a/index.html b/index.html index bd52b6a..c39c49a 100644 --- a/index.html +++ b/index.html @@ -11014,9 +11014,7 @@ //Required for blockchain API operators apiURL: { - FLO: ['https://explorer.mediciland.com/', 'https://flosight1.duckdns.org/', - 'http://livenet-explorer.floexperiments.com/' - ], + FLO: ['https://livenet.flocha.in/'], FLO_TEST: ['https://testnet-flosight.duckdns.org/', 'https://testnet.flocha.in/'] }, adminID: "FKAEdnPfjXLHSYwrXQu377ugN4tXU7VGdf", @@ -18304,11 +18302,11 @@ util: { serverList: floGlobals.apiURL[floGlobals.blockchain].slice(0), - curPos: floCrypto.randInt(0, floGlobals.apiURL[floGlobals.blockchain].length), + curPos: floCrypto.randInt(0, floGlobals.apiURL[floGlobals.blockchain].length - 1), fetch_retry: function (apicall) { return new Promise((resolve, reject) => { this.serverList.splice(this.curPos, 1); - this.curPos = floCrypto.randInt(0, this.serverList.length) + this.curPos = floCrypto.randInt(0, this.serverList.length - 1) this.fetch_api(apicall) .then(result => resolve(result)) .catch(error => reject(error));