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

This commit is contained in:
softsimon 2020-09-29 19:38:01 +07:00
parent d0b3b240e6
commit e8de73cfbc
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7

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) {