aboutsummaryrefslogtreecommitdiff
path: root/src/webex
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-07-09 18:56:18 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-07-09 18:56:18 +0530
commit63ebe1b2e296aabb79cb1756d5dfc82c1ba4fe02 (patch)
tree18d0a1f92b8b48abec3d66b10a56d23212d7d81b /src/webex
parent2efe743950ade93ef6cb981a6ac4a56ef3e71ec7 (diff)
android APIs for withdrawal and exchange listing
Diffstat (limited to 'src/webex')
-rw-r--r--src/webex/wxBackend.ts6
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(),
};