diff options
author | Florian Dold <florian@dold.me> | 2023-06-20 19:41:36 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-06-20 19:41:42 +0200 |
commit | 8d20ab87fa43c9b4e86ff424084008dcf680e8c3 (patch) | |
tree | 996c5f265779f264c62f7460b7acd277814a9bf7 /packages/taler-wallet-cli/src | |
parent | 32937795c59fa91e4ff07a10a1f2497135d1937b (diff) | |
download | wallet-core-8d20ab87fa43c9b4e86ff424084008dcf680e8c3.tar.xz |
wallet-core: consistently rename to failTransaction
Diffstat (limited to 'packages/taler-wallet-cli/src')
-rw-r--r-- | packages/taler-wallet-cli/src/index.ts | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index 99882addd..4e56a40f4 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -446,17 +446,16 @@ transactionsCli }); transactionsCli - .subcommand("cancelAbortingTransaction", "cancel-aborting", { - help: "Cancel the attempt of properly aborting a transaction.", + .subcommand("fail", "fail", { + help: "Fail a transaction (when it can't be aborted).", }) .requiredArgument("transactionId", clk.STRING, { - help: "Identifier of the transaction to cancel aborting.", + help: "Identifier of the transaction to fail.", }) .action(async (args) => { await withWallet(args, async (wallet) => { - await wallet.client.call(WalletApiOperation.CancelAbortingTransaction, { - transactionId: args.cancelAbortingTransaction - .transactionId as TransactionIdStr, + await wallet.client.call(WalletApiOperation.FailTransaction, { + transactionId: args.fail.transactionId as TransactionIdStr, }); }); }); |