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

solana: Remove references to payer.sequence_value from the code comments #143

Open
johnsaigle opened this issue May 13, 2024 · 0 comments
Open

Comments

@johnsaigle
Copy link

This value was removed in #90 but is still listed as the seed for PDAs in e.g.

/// CHECK: Mutable. Seeds must be \["core-msg", payer, payer_sequence.value\].
#[account(
mut,
seeds = [
common::CORE_MESSAGE_SEED_PREFIX,
prepared_order.key().as_ref(),
],
bump,
)]
core_message: UncheckedAccount<'info>,
/// CHECK: Mutable. Seeds must be \["cctp-msg", payer, payer_sequence.value\].
#[account(
mut,
seeds = [
common::CCTP_MESSAGE_SEED_PREFIX,
prepared_order.key().as_ref(),
],
bump,
)]
cctp_message: UncheckedAccount<'info>,

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

No branches or pull requests

1 participant