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

Token Client: create_recipient_associated_account_and_transfer does not use transfer hook #6118

Closed
buffalojoec opened this issue Jan 11, 2024 · 0 comments · Fixed by #6120
Closed
Labels
good first issue Good for newcomers

Comments

@buffalojoec
Copy link
Contributor

Problem

The transfer function in the token client uses the offchain helper to add extra account metas to a transfer, should that mint have a transfer hook extension.

The create_recipient_associated_account_and_transfer client function does not.

Solution

Follow the pattern laid in transfer to add the helper to create_recipient_associated_account_and_transfer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
1 participant