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

fix: correct filtering for transfer transactions #111

Merged
merged 2 commits into from
Nov 7, 2024

Conversation

goga-m
Copy link
Contributor

@goga-m goga-m commented Nov 7, 2024

Additional fixes for https://app.clickup.com/t/86dunurq3
Can be tested in ArdentHQ/arkvault#798

@goga-m goga-m force-pushed the fix/filtering-transfers branch from 48b9da4 to df0aefc Compare November 7, 2024 07:33
@github-actions github-actions bot added the bugfix label Nov 7, 2024
@@ -305,21 +305,19 @@ export class ClientService extends Services.AbstractClientService {
}

if (Array.isArray(body.types)) {
const typeParameters = body.types
.map((transactionType: string) => transactionTypeByName(transactionType))
.filter(({ type }) => !!type);
Copy link
Contributor Author

@goga-m goga-m Nov 7, 2024

Choose a reason for hiding this comment

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

Mainly this check was excluding transfer transactions that have type 0

@ItsANameToo ItsANameToo merged commit ea96339 into develop Nov 7, 2024
@ItsANameToo ItsANameToo deleted the fix/filtering-transfers branch November 7, 2024 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants