Skip to content

Commit

Permalink
move wallet:sign -> wallet:transactions:sign (#5256)
Browse files Browse the repository at this point in the history
  • Loading branch information
NullSoldier authored Aug 13, 2024
1 parent 6aff7c7 commit 5ef47f8
Showing 1 changed file with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@

import { CurrencyUtils, RpcClient, Transaction } from '@ironfish/sdk'
import { Flags } from '@oclif/core'
import { IronfishCommand } from '../../command'
import { RemoteFlags } from '../../flags'
import { longPrompt } from '../../utils/input'
import { Ledger } from '../../utils/ledger'
import { renderTransactionDetails, watchTransaction } from '../../utils/transaction'
import { IronfishCommand } from '../../../command'
import { RemoteFlags } from '../../../flags'
import { longPrompt } from '../../../utils/input'
import { Ledger } from '../../../utils/ledger'
import { renderTransactionDetails, watchTransaction } from '../../../utils/transaction'

export class SignTransaction extends IronfishCommand {
export class TransactionsSignCommand extends IronfishCommand {
static description = `Sign an unsigned transaction`

static hiddenAliases = ['wallet:sign']

static flags = {
...RemoteFlags,
unsignedTransaction: Flags.string({
Expand All @@ -34,7 +37,7 @@ export class SignTransaction extends IronfishCommand {
}

async start(): Promise<void> {
const { flags } = await this.parse(SignTransaction)
const { flags } = await this.parse(TransactionsSignCommand)
const client = await this.connectRpc()

if (!flags.broadcast && flags.watch) {
Expand Down

0 comments on commit 5ef47f8

Please sign in to comment.