Skip to content

Commit b718bbb

Browse files
committed
fixup! fix(wallet): transaction tracker now fetches history without gaps
1 parent 1e61787 commit b718bbb

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

packages/wallet/src/services/TransactionsTracker.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,44 @@
1-
import { Cardano, ChainHistoryProvider } from "@cardano-sdk/core";
2-
import { DocumentStore, OrderedCollectionStore } from "../persistence";
1+
import { Cardano, ChainHistoryProvider } from '@cardano-sdk/core';
2+
import { DocumentStore, OrderedCollectionStore } from '../persistence';
33
import {
4+
EMPTY,
5+
NEVER,
6+
Observable,
7+
Subject,
48
combineLatest,
59
concat,
610
defaultIfEmpty,
711
distinctUntilChanged,
8-
EMPTY,
912
exhaustMap,
1013
filter,
1114
from,
1215
map,
1316
merge,
1417
mergeMap,
1518
mergeWith,
16-
NEVER,
17-
Observable,
1819
of,
1920
partition,
2021
race,
2122
scan,
2223
share,
2324
startWith,
24-
Subject,
2525
switchMap,
2626
take,
2727
takeUntil,
2828
tap,
2929
withLatestFrom
30-
} from "rxjs";
31-
import { FailedTx, OutgoingOnChainTx, OutgoingTx, TransactionFailure, TransactionsTracker, TxInFlight } from "./types";
32-
import { Logger } from "ts-log";
33-
import { contextLogger, Range, Shutdown } from "@cardano-sdk/util";
34-
import { RetryBackoffConfig } from "backoff-rxjs";
35-
import { TrackerSubject } from "@cardano-sdk/util-rxjs";
36-
import { distinctBlock, pollProvider, signedTxsEquals, transactionsEquals, txEquals, txInEquals } from "./util";
37-
38-
import { WitnessedTx } from "@cardano-sdk/key-management";
39-
import { newAndStoredMulticast } from "./util/newAndStoredMulticast";
40-
import chunk from "lodash/chunk.js";
41-
import sortBy from "lodash/sortBy.js";
30+
} from 'rxjs';
31+
import { FailedTx, OutgoingOnChainTx, OutgoingTx, TransactionFailure, TransactionsTracker, TxInFlight } from './types';
32+
import { Logger } from 'ts-log';
33+
import { Range, Shutdown, contextLogger } from '@cardano-sdk/util';
34+
import { RetryBackoffConfig } from 'backoff-rxjs';
35+
import { TrackerSubject } from '@cardano-sdk/util-rxjs';
36+
import { distinctBlock, pollProvider, signedTxsEquals, transactionsEquals, txEquals, txInEquals } from './util';
37+
38+
import { WitnessedTx } from '@cardano-sdk/key-management';
39+
import { newAndStoredMulticast } from './util/newAndStoredMulticast';
40+
import chunk from 'lodash/chunk.js';
41+
import sortBy from 'lodash/sortBy.js';
4242

4343
const ONE_MONTH_BLOCK_TIME = 21_600 * 6;
4444

0 commit comments

Comments
 (0)