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] use Signersinstead of Signer for confidential transfer client functions #7175

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

samkim-crypto
Copy link
Contributor

@samkim-crypto samkim-crypto commented Aug 21, 2024

Problem

Some confidential transfer related functions in the token-client take in Signer instead of Signers as is done in other token-client functions.

Summary of Changes

I updated these functions to take in Signers to be in-line with the rest of the functions. The only exception is confidential_transfer_create_record_account. This function creates multiple transactions and they might require differing list of signers. Therefore, for this function, I ended up updating the parameters so that the different signers could be of differing type (previously, they had to be the same type, e.g. both signers have to be keypairs).

@samkim-crypto samkim-crypto marked this pull request as ready for review August 21, 2024 10:03
@samkim-crypto samkim-crypto merged commit 7440e4b into solana-labs:master Aug 21, 2024
31 checks passed
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.

2 participants