Skip to content

Commit

Permalink
move wallet:transaction:watch -> wallet:transactions:watch (#5254)
Browse files Browse the repository at this point in the history
  • Loading branch information
mat-if committed Aug 13, 2024
1 parent 9770fb7 commit e53d76f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -33,7 +34,7 @@ export class WatchTxCommand extends IronfishCommand {
}

async start(): Promise<void> {
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
Expand Down

0 comments on commit e53d76f

Please sign in to comment.