diff options
author | Florian Dold <florian@dold.me> | 2023-11-21 15:00:14 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-11-21 15:00:24 +0100 |
commit | 6000a55d583832a71335310514688f1f6faed722 (patch) | |
tree | c9b5ae2ca9f2511c75e3ed375ae5bbeade44ac66 /packages/taler-wallet-core/src/operations | |
parent | 77eb29cb7caf50e870ada861a4ef83712a31a1cb (diff) |
towards a currency conversion integration test
Diffstat (limited to 'packages/taler-wallet-core/src/operations')
-rw-r--r-- | packages/taler-wallet-core/src/operations/exchanges.ts | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/packages/taler-wallet-core/src/operations/exchanges.ts b/packages/taler-wallet-core/src/operations/exchanges.ts index 82d7b42bf..622f04bd3 100644 --- a/packages/taler-wallet-core/src/operations/exchanges.ts +++ b/packages/taler-wallet-core/src/operations/exchanges.ts @@ -19,23 +19,19 @@ */ import { AbsoluteTime, - AccountInfo, Amounts, CancellationToken, canonicalizeBaseUrl, codecForExchangeKeysJson, - DenomGroup, DenominationPubKey, DenomKeyType, Duration, durationFromSpec, encodeCrock, ExchangeAuditor, - ExchangeDenomination, - ExchangeEntryStatus, ExchangeGlobalFees, ExchangeSignKeyJson, - ExchangeWireJson, + ExchangeWireAccount, GlobalFees, hashDenomPub, j2s, @@ -58,10 +54,10 @@ import { WireInfo, } from "@gnu-taler/taler-util"; import { + getExpiry, HttpRequestLibrary, - readSuccessResponseTextOrThrow, readSuccessResponseJsonOrThrow, - getExpiry, + readSuccessResponseTextOrThrow, } from "@gnu-taler/taler-util/http"; import { DenominationRecord, @@ -79,7 +75,7 @@ import { timestampProtocolToDb, WalletDbReadWriteTransaction, } from "../index.js"; -import { InternalWalletState, TrustInfo } from "../internal-wallet-state.js"; +import { InternalWalletState } from "../internal-wallet-state.js"; import { checkDbInvariant } from "../util/invariants.js"; import { DbAccess, @@ -88,10 +84,10 @@ import { } from "../util/query.js"; import { WALLET_EXCHANGE_PROTOCOL_VERSION } from "../versions.js"; import { - TaskRunResultType, runTaskWithErrorReporting, TaskIdentifiers, TaskRunResult, + TaskRunResultType, } from "./common.js"; const logger = new Logger("exchanges.ts"); @@ -380,7 +376,7 @@ interface ExchangeKeysDownloadResult { recoup: Recoup[]; listIssueDate: TalerProtocolTimestamp; globalFees: GlobalFees[]; - accounts: AccountInfo[]; + accounts: ExchangeWireAccount[]; wireFees: { [methodName: string]: WireFeesJson[] }; } |