bugfix: (floBlockchainAPI v2.0.1c)
-Fixed: no Flosight working error shown even when there are flosight(s) working
This commit is contained in:
parent
962f68c230
commit
99ac3accb9
@ -7292,7 +7292,7 @@ Bitcoin.Util = {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script id="floBlockchainAPI" version="2.0.1b">
|
||||
<script id="floBlockchainAPI" version="2.0.1c">
|
||||
/* FLO Blockchain Operator to send/receive data from blockchain using API calls*/
|
||||
const floBlockchainAPI = {
|
||||
|
||||
@ -7302,7 +7302,7 @@ Bitcoin.Util = {
|
||||
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));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user