Correct timer to get actual time to update bisq market data.

This commit is contained in:
softsimon committed 2020-09-29 19:38:01 +07:00
1 parent 01bd6a4c2e
commit e08b33c481
1 file changed
+1 -1
+1 -1
View File
@@ -91,9 +91,9 @@ class Bisq {
this.tradesLastMtime = tradesMtime;
marketsDataUpdated = true;
}
const time = new Date().getTime() - start;
if (marketsDataUpdated) {
bisqMarket.updateCache();
const time = new Date().getTime() - start;
console.log('Bisq market data updated in ' + time + ' ms');
}
} catch (e) {