summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/pay-peer-pull-credit.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-02-19 18:42:33 +0100
committerFlorian Dold <florian@dold.me>2024-02-19 18:42:33 +0100
commiteb1500e517d475aad22cfe02c8a5c5c6acefe00a (patch)
tree4572e0f8437fae4de6d6d7dade2c874af95769f2 /packages/taler-wallet-core/src/pay-peer-pull-credit.ts
parente888d7f292f68a58fc4b56771fb8a38219d53b86 (diff)
downloadwallet-core-eb1500e517d475aad22cfe02c8a5c5c6acefe00a.tar.gz
wallet-core-eb1500e517d475aad22cfe02c8a5c5c6acefe00a.tar.bz2
wallet-core-eb1500e517d475aad22cfe02c8a5c5c6acefe00a.zip
get rid of deprecated/unused types
Diffstat (limited to 'packages/taler-wallet-core/src/pay-peer-pull-credit.ts')
-rw-r--r--packages/taler-wallet-core/src/pay-peer-pull-credit.ts26
1 files changed, 11 insertions, 15 deletions
diff --git a/packages/taler-wallet-core/src/pay-peer-pull-credit.ts b/packages/taler-wallet-core/src/pay-peer-pull-credit.ts
index 124496d02..03bc5a4b9 100644
--- a/packages/taler-wallet-core/src/pay-peer-pull-credit.ts
+++ b/packages/taler-wallet-core/src/pay-peer-pull-credit.ts
@@ -51,6 +51,15 @@ import {
} from "@gnu-taler/taler-util";
import { readSuccessResponseJsonOrThrow } from "@gnu-taler/taler-util/http";
import {
+ PendingTaskType,
+ TaskId,
+ TaskRunResult,
+ TaskRunResultType,
+ TombstoneTag,
+ TransactionContext,
+ constructTaskIdentifier,
+} from "./common.js";
+import {
KycPendingInfo,
KycUserType,
PeerPullCreditRecord,
@@ -63,16 +72,6 @@ import {
timestampPreciseToDb,
} from "./index.js";
import { InternalWalletState } from "./internal-wallet-state.js";
-import { PendingTaskType, TaskId } from "./pending-types.js";
-import { assertUnreachable } from "./util/assertUnreachable.js";
-import { checkDbInvariant } from "./util/invariants.js";
-import {
- TaskRunResult,
- TaskRunResultType,
- TombstoneTag,
- TransactionContext,
- constructTaskIdentifier,
-} from "./common.js";
import {
codecForExchangePurseStatus,
getMergeReserveInfo,
@@ -81,6 +80,8 @@ import {
constructTransactionIdentifier,
notifyTransition,
} from "./transactions.js";
+import { assertUnreachable } from "./util/assertUnreachable.js";
+import { checkDbInvariant } from "./util/invariants.js";
import {
getExchangeWithdrawalInfo,
internalCreateWithdrawalGroup,
@@ -480,11 +481,6 @@ async function longpollKycStatus(
tag: TransactionType.PeerPullCredit,
pursePub,
});
- const retryTag = constructTaskIdentifier({
- tag: PendingTaskType.PeerPullCredit,
- pursePub,
- });
-
const url = new URL(
`kyc-check/${kycInfo.requirementRow}/${kycInfo.paytoHash}/${userType}`,
exchangeUrl,