Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

[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 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.

2 participants