From 92813691e3bfb5619649133e96a5c96414ff1e31 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 27 Mar 2024 19:47:39 +0100 Subject: -comment --- packages/taler-wallet-core/src/exchanges.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packages') diff --git a/packages/taler-wallet-core/src/exchanges.ts b/packages/taler-wallet-core/src/exchanges.ts index 91d436100..e3426b0ae 100644 --- a/packages/taler-wallet-core/src/exchanges.ts +++ b/packages/taler-wallet-core/src/exchanges.ts @@ -2093,6 +2093,12 @@ async function internalGetExchangeResources( }; } +/** + * Purge information in the database associated with the exchange. + * + * Deletes information specific to the exchange and withdrawals, + * but keeps some transactions (payments, p2p, refreshes) around. + */ async function purgeExchange( tx: WalletDbReadWriteTransaction< [ -- cgit v1.2.3