input-output-hk / input-output-hk/Scorex

Tx with sender=recipient shows twice in api result

Open
#113 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
503
Forks
70
PR merge metrics
No merged PRs in 30d

Description

If i send tx from A to A /transactions/address/{address} will return such tx twice.

ps. you can see this result for [this tx](http://testnet.wavesexplorer.com/tx/5X5c7cSCxHNtcMXEfJoe7kiYdE6q8EXfTwKFBk8GSmdP3X6UTGj6Rb6AHXrJViWKwYRoBZiGTXKVzM8xVHnDBPGN) if click on Sender address

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the /transactions/address/{address} API entry point and reproduce the sender=recipient case using the linked transaction or an equivalent test transaction. Trace how transactions are collected for sender and recipient, then add or update a regression test. Done means a self-sent transaction appears once in the API result.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, blockchain
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.