aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-07-28 14:27:46 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-07-28 14:27:46 +0530
commit86fd5f24406d05fe473c0ffe6c22666fe1b3e343 (patch)
tree8e7bbe72d81c3d0ba85fc02e1b717c309ff893b7
parent4365cd6401713b2e207d8c032c0558487e860154 (diff)
match spec
-rw-r--r--src/walletCoreApiHandler.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/walletCoreApiHandler.ts b/src/walletCoreApiHandler.ts
index 64039c0c1..3c1bf007b 100644
--- a/src/walletCoreApiHandler.ts
+++ b/src/walletCoreApiHandler.ts
@@ -199,7 +199,7 @@ async function dispatchRequestInternal(
case "getPendingOperations": {
return await wallet.getPendingOperations();
}
- case "acceptExchangeTermsOfService": {
+ case "setExchangeTosAccepted": {
const req = codecForAcceptExchangeTosRequest().decode(payload);
return await wallet.acceptExchangeTermsOfService(
req.exchangeBaseUrl,