diff options
Diffstat (limited to 'src/webex')
-rw-r--r-- | src/webex/wxBackend.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/webex/wxBackend.ts b/src/webex/wxBackend.ts index 88d5545d9..5cf61a78a 100644 --- a/src/webex/wxBackend.ts +++ b/src/webex/wxBackend.ts @@ -27,7 +27,7 @@ import { BrowserCryptoWorkerFactory } from "../crypto/workers/cryptoApi"; import { deleteTalerDatabase, openTalerDatabase, - WALLET_DB_VERSION, + WALLET_DB_MINOR_VERSION, } from "../db"; import { ReturnCoinsRequest, @@ -151,7 +151,7 @@ async function handleMessage( return needsWallet().getHistory(); } case "get-exchanges": { - return needsWallet().getExchanges(); + return needsWallet().getExchangeRecords(); } case "get-currencies": { return needsWallet().getCurrencies(); @@ -201,7 +201,7 @@ async function handleMessage( dbResetRequired = true; } const resp: wxApi.UpgradeResponse = { - currentDbVersion: WALLET_DB_VERSION.toString(), + currentDbVersion: WALLET_DB_MINOR_VERSION.toString(), dbResetRequired, oldDbVersion: (outdatedDbVersion || "unknown").toString(), }; |