in the transaction history lists, "swap" items show un-useful address #55

Closed
opened 2026-02-28 17:55:39 +01:00 by sneak · 2 comments
Owner

sometimes they show our (labelled) address in our wallet, sometimes they show the contract address. in the tx list, it should always show our labelled address, so we know which of our addresses was doing the swap. the counterparty isn't useful in the list view.

sometimes they show our (labelled) address in our wallet, sometimes they show the contract address. in the tx list, it should always show our labelled address, so we know which of our addresses was doing the swap. the counterparty isn't useful in the list view.
clawbot was assigned by sneak 2026-02-28 17:55:39 +01:00
Collaborator

PR #56 submitted to fix this.

The issue was in addressDetail.js — for swap/contract transactions, the counterparty was set to tx.to (the contract address). Changed it to show tx.from (the user's own address) instead, so the list view shows which of your labelled wallets initiated the swap.

PR #56 submitted to fix this. The issue was in `addressDetail.js` — for swap/contract transactions, the counterparty was set to `tx.to` (the contract address). Changed it to show `tx.from` (the user's own address) instead, so the list view shows which of your labelled wallets initiated the swap.
Collaborator

Fixed in PR #57. Both transaction list views (home.js and addressDetail.js) now show the user's own labelled wallet address for swap transactions instead of the contract address. make check passes cleanly.

Fixed in PR #57. Both transaction list views (`home.js` and `addressDetail.js`) now show the user's own labelled wallet address for swap transactions instead of the contract address. `make check` passes cleanly.
sneak closed this issue 2026-02-28 18:16:13 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sneak/AutistMask#55
No description provided.