Skip to content

Conversation

@LStan
Copy link
Contributor

@LStan LStan commented May 26, 2025

This PR adds create_with_seed function. It mimics the same function from solana-pubkey, except that seed is &[u8] instead of &str.

}

/// Derive a Pubkey from another Pubkey, seed, and a program id.
#[inline]
Copy link
Collaborator

Choose a reason for hiding this comment

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

This one can always be inlined.

Copy link
Collaborator

@febo febo left a comment

Choose a reason for hiding this comment

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

Just a couple of nits.

Copy link
Contributor

@ilya-bobyr ilya-bobyr left a comment

Choose a reason for hiding this comment

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

Looks good to me.
But better if @febo would take a look again as well.

@ilya-bobyr ilya-bobyr requested a review from febo July 15, 2025 19:38
@febo febo merged commit 9be19b9 into anza-xyz:main Aug 9, 2025
9 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.

3 participants