Skip to content

don't show swaps contract address in recent "Recents" #2822

@rickycodes

Description

@rickycodes

Describe the bug

Right now when a user performs a swap the swaps contract address gets added to "Recents". this has resulted in quite a few of our users sending funds to the swaps contract address in error. The hypothetical flow is this:

a) user sends funds to their best friend Esteban
b) user then performs a swap
c) user wants to send funds to their best friend again and assumes the first address on recents is their best friend when in fact it's the swaps contract address. they select that address and send
d) user is angry because their funds went to the wrong address.

Expected behaviour

We should have a list of addresses (perhaps malicious ones could also be included?) that never get added to "Recents"

Metadata

Metadata

Assignees

Labels

type-bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions