aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-11-02 17:09:59 +0100
committerFlorian Dold <florian@dold.me>2022-11-02 17:09:59 +0100
commit6c3ef31d9a7ba44829e779afed0af9be3ab23723 (patch)
treed1101a6df7f62ceaf90af16c8d5caab0373337e1
parent14456bb942fa596290c2eb59f287e02c17c37f4c (diff)
wallet-core: DB FIXMEs
-rw-r--r--packages/taler-wallet-core/src/db.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts
index f7cb6e177..12e7820c2 100644
--- a/packages/taler-wallet-core/src/db.ts
+++ b/packages/taler-wallet-core/src/db.ts
@@ -526,7 +526,8 @@ export interface ExchangeRecord {
* exchange advertises a different master public key and/or
* currency.
*
- * FIXME: Use a rowId here?
+ * We could use a rowID here, but having the currency in the
+ * details pointer lets us do fewer DB queries sometimes.
*/
detailsPointer: ExchangeDetailsPointer | undefined;