match spec

This commit is contained in:
Florian Dold 2020-07-28 14:27:46 +05:30
parent 4365cd6401
commit 86fd5f2440
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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,