diff options
author | Florian Dold <florian@dold.me> | 2024-03-27 19:47:39 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-03-27 19:47:39 +0100 |
commit | 92813691e3bfb5619649133e96a5c96414ff1e31 (patch) | |
tree | c4574db04cde9ca46daa2b90a2bd1f853def441f /packages/taler-wallet-core/src/exchanges.ts | |
parent | e0f4f29bc99372c22b6c1bfa09dcba2d85f3b608 (diff) | |
download | wallet-core-92813691e3bfb5619649133e96a5c96414ff1e31.tar.xz |
-comment
Diffstat (limited to 'packages/taler-wallet-core/src/exchanges.ts')
-rw-r--r-- | packages/taler-wallet-core/src/exchanges.ts | 6 |
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< [ |