-
Notifications
You must be signed in to change notification settings - Fork 122
Open
Description
Describe the bug
When calling getAccountInbound, the result contains duplicate entries that only differ by stx-transfer and stx-transfer-memo
To Reproduce
Steps to reproduce the behavior:
- call
await accountsApi.getAccountInbound({principal: "SP2ZNPXGZ8S4GE568QSCF66PT02BZ63Y4W3Y7BHNZ", });
- check result for stx-transfer and stx-transfer-memo. e.g.
{
sender: 'SP3KJBWTS3K562BF5NXWG5JC8W90HEG7WPYH5B97X',
amount: '4904900750',
memo: '0x72657761726473203839000000000000000000000000000000000000000000000000',
block_height: 160523,
tx_id: '0x23c178d6f20a7772f6fda3c2c35e6bb4d90e9fadf87d09457bc9d9eb585b5790',
transfer_type: 'stx-transfer',
tx_index: 45
},
{
sender: 'SP3KJBWTS3K562BF5NXWG5JC8W90HEG7WPYH5B97X',
amount: '4904900750',
memo: '0x72657761726473203839000000000000000000000000000000000000000000000000',
block_height: 160523,
tx_id: '0x23c178d6f20a7772f6fda3c2c35e6bb4d90e9fadf87d09457bc9d9eb585b5790',
transfer_type: 'stx-transfer-memo',
tx_index: 45
},
Expected behavior
Only one stx transfer event should be listed