Skip to content

Commit

Permalink
Move wallet:transaction to wallet:transactions:info (#5257)
Browse files Browse the repository at this point in the history
  • Loading branch information
NullSoldier committed Aug 13, 2024
1 parent 5ef47f8 commit 014d66b
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ import {
} from '../../../utils'
import { getExplorer } from '../../../utils/explorer'

export class TransactionCommand extends IronfishCommand {
export class TransactionInfoCommand extends IronfishCommand {
static description = `Display an account transaction`

static hiddenAliases = ['wallet:transaction']

static flags = {
...RemoteFlags,
account: Flags.string({
Expand All @@ -44,7 +46,7 @@ export class TransactionCommand extends IronfishCommand {
}

async start(): Promise<void> {
const { flags, args } = await this.parse(TransactionCommand)
const { flags, args } = await this.parse(TransactionInfoCommand)
const { hash } = args
// TODO: remove account arg
const account = flags.account ? flags.account : args.account
Expand Down

0 comments on commit 014d66b

Please sign in to comment.