diff --git a/source/renderer/app/utils/transactionsCsvGenerator.ts b/source/renderer/app/utils/transactionsCsvGenerator.ts index 358b756d0b..e2397a57e4 100644 --- a/source/renderer/app/utils/transactionsCsvGenerator.ts +++ b/source/renderer/app/utils/transactionsCsvGenerator.ts @@ -187,7 +187,9 @@ const transactionsCsvGenerator = async ({ const valueTokens = filterAssets(assets, type, isInternalAddress) .map(({ policyId, assetName, quantity }) => { - const { fingerprint, metadata } = getAsset(policyId, assetName); + const assetData = getAsset(policyId, assetName); + const fingerprint = assetData?.fingerprint || 'unknown fingerprint'; + const metadata = assetData?.metadata || {}; const formattedAmount = formattedTokenWalletAmount( quantity, metadata,