commit 92813691e3bfb5619649133e96a5c96414ff1e31 parent e0f4f29bc99372c22b6c1bfa09dcba2d85f3b608 Author: Florian Dold <florian@dold.me> Date: Wed, 27 Mar 2024 19:47:39 +0100 -comment Diffstat:
| M | packages/taler-wallet-core/src/exchanges.ts | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git 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< [