From e53d76f387634d84e0605b9bbdbd2490b0d7e4f9 Mon Sep 17 00:00:00 2001 From: mat-if <97762857+mat-if@users.noreply.github.com> Date: Tue, 13 Aug 2024 16:19:16 -0700 Subject: [PATCH] move `wallet:transaction:watch` -> `wallet:transactions:watch` (#5254) --- .../commands/wallet/{transaction => transactions}/watch.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename ironfish-cli/src/commands/wallet/{transaction => transactions}/watch.ts (88%) diff --git a/ironfish-cli/src/commands/wallet/transaction/watch.ts b/ironfish-cli/src/commands/wallet/transactions/watch.ts similarity index 88% rename from ironfish-cli/src/commands/wallet/transaction/watch.ts rename to ironfish-cli/src/commands/wallet/transactions/watch.ts index 46b80853d2..160d2b9374 100644 --- a/ironfish-cli/src/commands/wallet/transaction/watch.ts +++ b/ironfish-cli/src/commands/wallet/transactions/watch.ts @@ -6,8 +6,9 @@ import { IronfishCommand } from '../../../command' import { RemoteFlags } from '../../../flags' import { watchTransaction } from '../../../utils/transaction' -export class WatchTxCommand extends IronfishCommand { +export class TransactionsWatchCommand extends IronfishCommand { static description = `Wait for the status of an account transaction to confirm or expire` + static hiddenAliases = ['wallet:transaction:watch'] static flags = { ...RemoteFlags, @@ -33,7 +34,7 @@ export class WatchTxCommand extends IronfishCommand { } async start(): Promise { - const { flags, args } = await this.parse(WatchTxCommand) + const { flags, args } = await this.parse(TransactionsWatchCommand) const { hash } = args // TODO: remove account arg const account = flags.account ? flags.account : args.account