Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zavelevsky committed Aug 14, 2023
1 parent f1c402b commit 8386e73
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/chain-cache/ChainSync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,6 @@ export class ChainSync {
// 6. if there are no more pairs, it sets a timeout to call itself again
private async _populatePairsData(): Promise<void> {
logger.debug('_populatePairsData called');
this._pairs = [];
// keep the time stamp of last fetch
this._lastFetch = Date.now();
// this indicates we want to poll for pairs only once a minute.
// Set this to false when we have an indication that new pair was created - which we want to fetch now
this._slowPollPairs = false;
Expand Down

0 comments on commit 8386e73

Please sign in to comment.