diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index aed2ce5cb..a536f29b6 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -143,7 +143,7 @@ export async function openTalerDatabase( value: TALER_DB_NAME, }); } else { - currentMainVersion = dbVersionRecord.key; + currentMainVersion = dbVersionRecord.value; } });