From d32d2895cedad656d7130522722f40642c439de6 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 24 Aug 2022 11:11:02 +0200 Subject: -get p2p pull integration test to run through --- packages/taler-wallet-core/src/operations/exchanges.ts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'packages/taler-wallet-core/src/operations/exchanges.ts') diff --git a/packages/taler-wallet-core/src/operations/exchanges.ts b/packages/taler-wallet-core/src/operations/exchanges.ts index 6f8da5aee..94ea2cb9c 100644 --- a/packages/taler-wallet-core/src/operations/exchanges.ts +++ b/packages/taler-wallet-core/src/operations/exchanges.ts @@ -65,10 +65,7 @@ import { } from "../util/http.js"; import { DbAccess, GetReadOnlyAccess } from "../util/query.js"; import { RetryInfo } from "../util/retries.js"; -import { - WALLET_CACHE_BREAKER_CLIENT_VERSION, - WALLET_EXCHANGE_PROTOCOL_VERSION, -} from "../versions.js"; +import { WALLET_EXCHANGE_PROTOCOL_VERSION } from "../versions.js"; import { guardOperationException } from "./common.js"; const logger = new Logger("exchanges.ts"); @@ -169,7 +166,6 @@ export async function downloadExchangeWithTermsOfService( contentType: string, ): Promise { const reqUrl = new URL("terms", exchangeBaseUrl); - reqUrl.searchParams.set("cacheBreaker", WALLET_CACHE_BREAKER_CLIENT_VERSION); const headers = { Accept: contentType, }; @@ -352,7 +348,6 @@ async function downloadExchangeWireInfo( timeout: Duration, ): Promise { const reqUrl = new URL("wire", exchangeBaseUrl); - reqUrl.searchParams.set("cacheBreaker", WALLET_CACHE_BREAKER_CLIENT_VERSION); const resp = await http.get(reqUrl.href, { timeout, @@ -439,7 +434,6 @@ async function downloadExchangeKeysInfo( timeout: Duration, ): Promise { const keysUrl = new URL("keys", baseUrl); - keysUrl.searchParams.set("cacheBreaker", WALLET_CACHE_BREAKER_CLIENT_VERSION); const resp = await http.get(keysUrl.href, { timeout, @@ -449,9 +443,6 @@ async function downloadExchangeKeysInfo( codecForExchangeKeysJson(), ); - logger.trace("received /keys response"); - logger.trace(`${j2s(exchangeKeysJsonUnchecked)}`); - if (exchangeKeysJsonUnchecked.denoms.length === 0) { throw TalerError.fromDetail( TalerErrorCode.WALLET_EXCHANGE_DENOMINATIONS_INSUFFICIENT, -- cgit v1.2.3