From 76865c56a598b7930810ca2817e99d6bb8194fe2 Mon Sep 17 00:00:00 2001 From: jowparks Date: Tue, 12 Nov 2024 11:40:35 -0800 Subject: [PATCH] fix transaction list output (#5635) --- ironfish-cli/src/commands/wallet/transactions/index.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ironfish-cli/src/commands/wallet/transactions/index.ts b/ironfish-cli/src/commands/wallet/transactions/index.ts index 9b4576c32e..b2a7670251 100644 --- a/ironfish-cli/src/commands/wallet/transactions/index.ts +++ b/ironfish-cli/src/commands/wallet/transactions/index.ts @@ -102,7 +102,9 @@ export class TransactionsCommand extends IronfishCommand { : ('Bridge (incoming)' as TransactionType) } - transactionRows = this.getTransactionRowsByNote(assetLookup, transaction, format) + transactionRows = transactionRows.concat( + this.getTransactionRowsByNote(assetLookup, transaction, format), + ) } else { const assetLookup = await getAssetsByIDs( client, @@ -110,7 +112,9 @@ export class TransactionsCommand extends IronfishCommand { account, flags.confirmations, ) - transactionRows = this.getTransactionRows(assetLookup, transaction, format) + transactionRows = transactionRows.concat( + this.getTransactionRows(assetLookup, transaction, format), + ) } hasTransactions = true }