From 8d20ab87fa43c9b4e86ff424084008dcf680e8c3 Mon Sep 17 00:00:00 2001
From: Florian Dold <florian@dold.me>
Date: Tue, 20 Jun 2023 19:41:36 +0200
Subject: wallet-core: consistently rename to failTransaction

---
 packages/taler-wallet-webextension/src/wallet/Transaction.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'packages/taler-wallet-webextension/src/wallet/Transaction.tsx')

diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
index 80f0479c8..9ed41c5de 100644
--- a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
@@ -121,7 +121,7 @@ export function TransactionPage({ tid, goToWalletHistory }: Props): VNode {
     <TransactionView
       transaction={state.response}
       onCancel={async () => {
-        await api.wallet.call(WalletApiOperation.CancelAbortingTransaction, {
+        await api.wallet.call(WalletApiOperation.FailTransaction, {
           transactionId,
         });
         goToWalletHistory(currency);
-- 
cgit v1.2.3

