floExchangeAPI_v1.1.2
- Changing version number for previous update
This commit is contained in:
parent
ac2b4c3c1c
commit
7a4261c5a0
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
(function(EXPORTS) { //floExchangeAPI v1.1.1
|
||||
(function(EXPORTS) { //floExchangeAPI v1.1.2
|
||||
const exchangeAPI = EXPORTS;
|
||||
|
||||
/*Kademlia DHT K-bucket implementation as a binary tree.*/
|
||||
@ -1137,9 +1137,7 @@
|
||||
|
||||
exchangeAPI.init = function refreshDataFromBlockchain(adminID = floGlobals.adminID, appName = floGlobals.application) {
|
||||
return new Promise((resolve, reject) => {
|
||||
let nodes, assets = new Set(),
|
||||
tags = new Set(),
|
||||
lastTx;
|
||||
let nodes, assets, tags, lastTx;
|
||||
try {
|
||||
nodes = JSON.parse(localStorage.getItem('exchange-nodes'));
|
||||
assets = new Set((localStorage.getItem('exchange-assets') || "").split(','));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user