File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ironfish-cli/src/commands/wallet/transactions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,6 @@ export class TransactionsDecodeCommand extends IronfishCommand {
42
42
43
43
const client = await this . connectRpc ( )
44
44
45
- const account = flags . account ?? ( await this . selectAccount ( client ) )
46
-
47
45
let transactionString = flags . transaction
48
46
if ( ! transactionString ) {
49
47
transactionString = await longPrompt (
@@ -54,6 +52,8 @@ export class TransactionsDecodeCommand extends IronfishCommand {
54
52
)
55
53
}
56
54
55
+ const account = flags . account ?? ( await this . selectAccount ( client ) )
56
+
57
57
const rawTransaction = this . tryDeserializeRawTransaction ( transactionString )
58
58
if ( rawTransaction ) {
59
59
return await renderRawTransactionDetails ( client , rawTransaction , account , this . logger )
You can’t perform that action at this time.
0 commit comments