Skip to content

Commit

Permalink
Merge pull request #607 from onflow:606-bug-transfer-list-doesnt-incl…
Browse files Browse the repository at this point in the history
…uded-additional-message-in-key

fix: Add additional message to transaction details and key generation
  • Loading branch information
tombeckenham authored Feb 25, 2025
2 parents b063901 + b434d3e commit c5831b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/background/service/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ class Transaction {
transactionHolder.token = tx.token;
transactionHolder.type = tx.type;
transactionHolder.transferType = tx.transfer_type;
transactionHolder.additionalMessage = tx.additional_message;
// see if there's a pending item for this transaction
const pendingItem = this.session.pendingItem[network].find(
(item) =>
Expand Down
2 changes: 1 addition & 1 deletion src/ui/views/Wallet/TransferList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ const TransferList = () => {
<>
{' '}
{(transactions || []).map((tx) => {
const txCombinedKey = `${tx.cadenceTxId || tx.hash}${tx.evmTxIds ? `_${tx.evmTxIds.join('_')}` : ''}_${tx.transferType}_${tx.interaction}`;
const txCombinedKey = `${tx.cadenceTxId || tx.hash}${tx.evmTxIds ? `_${tx.evmTxIds.join('_')}` : ''}_${tx.transferType}_${tx.additionalMessage}_${tx.interaction}`;
return (
<ListItem
key={txCombinedKey}
Expand Down

0 comments on commit c5831b3

Please sign in to comment.