aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/deposits.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2024-05-10 18:23:37 +0200
committerFlorian Dold <florian@dold.me>2024-05-10 18:24:00 +0200
commit2339438e4892dd3afc11538f45442a714ab5732f (patch)
tree250c7a76337450fff86766058e97af5d44a79997 /packages/taler-wallet-core/src/deposits.ts
parent224bbb1d99a7f12a95322a4abb6a5e8f05fca68b (diff)
downloadwallet-core-2339438e4892dd3afc11538f45442a714ab5732f.tar.xz
wallet-core: testing request for reserve history
Diffstat (limited to 'packages/taler-wallet-core/src/deposits.ts')
-rw-r--r--packages/taler-wallet-core/src/deposits.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/deposits.ts b/packages/taler-wallet-core/src/deposits.ts
index dbba55247..c4cd98d73 100644
--- a/packages/taler-wallet-core/src/deposits.ts
+++ b/packages/taler-wallet-core/src/deposits.ts
@@ -776,7 +776,7 @@ async function processDepositGroupPendingTrack(
{ storeNames: ["coins"] },
async (tx) => {
const coinRecord = await tx.coins.get(coinPub);
- checkDbInvariant(!!coinRecord);
+ checkDbInvariant(!!coinRecord, `coin ${coinPub} not found in DB`);
return coinRecord.exchangeBaseUrl;
},
);