diff options
author | Florian Dold <florian@dold.me> | 2024-02-07 13:49:05 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2024-02-07 13:49:05 +0100 |
commit | 56f4b81f9cc1ebf93aaf5b686003530bc9af24e3 (patch) | |
tree | d84963c018bf1b66e6997a015e8b93635165ce5c /packages/taler-wallet-core/src/wallet.ts | |
parent | ff13acded0f68c66577eab96afb7f5242197b540 (diff) | |
download | wallet-core-56f4b81f9cc1ebf93aaf5b686003530bc9af24e3.tar.xz |
remove rewards
Some remains are kept to not break old wallets
Diffstat (limited to 'packages/taler-wallet-core/src/wallet.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index 28523654b..0b7229cf3 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -1171,10 +1171,6 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>( const req = codecForForceRefreshRequest().decode(payload); return await forceRefresh(ws, req); } - case WalletApiOperation.PrepareReward: { - const req = codecForPrepareRewardRequest().decode(payload); - return await prepareReward(ws, req.talerRewardUri); - } case WalletApiOperation.StartRefundQueryForUri: { const req = codecForPrepareRefundRequest().decode(payload); return await startRefundQueryForUri(ws, req.talerRefundUri); @@ -1191,14 +1187,6 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>( await startQueryRefund(ws, txIdParsed.proposalId); return {}; } - case WalletApiOperation.AcceptReward: { - const req = codecForAcceptTipRequest().decode(payload); - return await acceptTipBackwardCompat( - ws, - req.walletRewardId, - req.transactionId, - ); - } case WalletApiOperation.AddBackupProvider: { const req = codecForAddBackupProviderRequest().decode(payload); return await addBackupProvider(ws, req); |