Skip to content

Commit

Permalink
A-1208694774739066: transaction list fix for NFT receiver (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
anyxem authored Nov 5, 2024
1 parent 481a53f commit 3d8878f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/utils/Helpers/ML/ML.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,13 @@ const getParsedTransactions = (transactions, addresses) => {
return acc + output.value.amount.decimal
}
} else {
if (output.value.type === 'Coin') {
if (output.type === 'Transfer') {
if (output.type === 'Transfer') {
if (output.value.type === 'Coin') {
return acc + output.value.amount.decimal
}
if (output.type === 'LockThenTransfer') {
}
if (output.type === 'LockThenTransfer') {
if (output.value.type === 'Coin') {
return acc + Number(output.value.amount.decimal)
}
}
Expand Down

0 comments on commit 3d8878f

Please sign in to comment.