Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

View transactions sent to my own address as a single transaction #195

Closed
wants to merge 2 commits into from

Conversation

mihailmarcu
Copy link
Contributor

Description & Context

If a transaction occurs in the same direction, we do the filtering and display only one. Until then, we display one transaction for each "Send" and "Receive" direction.

How To Test

  1. Connect Wallet
  2. Make a transaction to your address, which must be copied from the account dropdown or otherwise.

Linked issue

Closes #75

@mihailmarcu mihailmarcu added the enhancement Improvement over existing feature label Feb 16, 2022
@mihailmarcu mihailmarcu self-assigned this Feb 16, 2022
const x = acc.find(item => {
return item.sender === current.sender && item.receiver === current.receiver && item.timestamp === current.timestamp
})
if (!x) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be moved to the normalizer function inside useTxs so to keep list length -- and by doing so newTxs as well -- concise

another point: let's use hash & dir as operands

@fadeev fadeev changed the title View transactions sent to my own address as a single transaction feat: view transactions sent to my own address as a single transaction Feb 23, 2022
@fadeev fadeev changed the title feat: view transactions sent to my own address as a single transaction View transactions sent to my own address as a single transaction Feb 23, 2022
@fadeev fadeev requested a review from JoseRFelix March 17, 2022 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement over existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

View transactions sent to my own address
2 participants