Skip to content

Commit

Permalink
choice asset name
Browse files Browse the repository at this point in the history
  • Loading branch information
patnir committed Sep 25, 2023
1 parent a3423d6 commit ec08de7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ironfish-cli/src/utils/asset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ export async function selectAsset(
}

const choices = balances.map((balance) => {
const assetName = BufferUtils.toHuman(Buffer.from(balance.assetName, 'hex'))
const assetName = BufferUtils.toHuman(Buffer.from(assetLookup[balance.assetId].name, 'hex'))

const name = `${balance.assetId} (${assetName}) (${CurrencyUtils.renderIron(
balance.available,
)})`
Expand Down

0 comments on commit ec08de7

Please sign in to comment.