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

feat: add multisig signer arg to CreateAccount command #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dylankyc
Copy link

Add support for multisig accounts to the CreateAccount command by including the multisig_signer_arg() argument.

Add support for multisig accounts to the CreateAccount command by including
the multisig_signer_arg() argument.
@dylankyc
Copy link
Author

This PR will fix the panic when creating account:

 ./target/debug/spl-token create-token
Creating token JDtj9Gg7ZtXcdYBTBsgYqRBBQ1Dig37VpQz3vxgWNSTo under program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA

Address:  JDtj9Gg7ZtXcdYBTBsgYqRBBQ1Dig37VpQz3vxgWNSTo
Decimals:  9

 ./target/debug/spl-token create-account JDtj9Gg7ZtXcdYBTBsgYqRBBQ1Dig37VpQz3vxgWNSTo
thread 'main' panicked at clients/cli/src/config.rs:51:35:
`multisig_signer` is not an id of an argument or a group.
Make sure you're using the name of the argument itself and not the name of short or long flags.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant