Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

transfer-hook-cli: patch token arg #6643

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Conversation

buffalojoec
Copy link
Contributor

Problem

The arg for the token mint address in the Transfer Hook CLI's create-extra-metas
and update-extra-metas commands was searching for program_id. This causes
the program ID to be passed to the transfer hook program, when instead it should
be the mint address!

Summary of Changes

Fix the parameter parsers!

Copy link
Contributor

@joncinque joncinque left a comment

Choose a reason for hiding this comment

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

Thanks for noticing and fixing!

@buffalojoec buffalojoec merged commit 5ce4e9f into master Apr 26, 2024
31 checks passed
@buffalojoec buffalojoec deleted the transfer-hook-cli-patch branch April 26, 2024 17:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Transaction Simulation Fails Due to Invalid Account Data in spl-transfer-hook
2 participants