summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-03-27 19:47:39 +0100
committerFlorian Dold <florian@dold.me>2024-03-27 19:47:39 +0100
commit92813691e3bfb5619649133e96a5c96414ff1e31 (patch)
treec4574db04cde9ca46daa2b90a2bd1f853def441f /packages
parente0f4f29bc99372c22b6c1bfa09dcba2d85f3b608 (diff)
downloadwallet-core-92813691e3bfb5619649133e96a5c96414ff1e31.tar.gz
wallet-core-92813691e3bfb5619649133e96a5c96414ff1e31.tar.bz2
wallet-core-92813691e3bfb5619649133e96a5c96414ff1e31.zip
-comment
Diffstat (limited to 'packages')
-rw-r--r--packages/taler-wallet-core/src/exchanges.ts6
1 files changed, 6 insertions, 0 deletions
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<
[