Skip to content

Commit

Permalink
fix transaction list output (#5635)
Browse files Browse the repository at this point in the history
  • Loading branch information
jowparks authored Nov 12, 2024
1 parent 5b7beaf commit 76865c5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions ironfish-cli/src/commands/wallet/transactions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,15 +102,19 @@ 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,
transaction.assetBalanceDeltas.map((d) => d.assetId),
account,
flags.confirmations,
)
transactionRows = this.getTransactionRows(assetLookup, transaction, format)
transactionRows = transactionRows.concat(
this.getTransactionRows(assetLookup, transaction, format),
)
}
hasTransactions = true
}
Expand Down

0 comments on commit 76865c5

Please sign in to comment.