Skip to main content

All Questions

Filter by
Sorted by
Tagged with
3 votes
1 answer
4k views

Error Message: A seeds constraint was violated

Here is my code #[program] pub mod anchor_code { use super::*; pub fn new_wallet(ctx: Context<WalletInfo>) -> Result<()>{ Ok(()) } } #[derive(Accounts)] pub struct ...
Pixeled's user avatar
  • 486
1 vote
1 answer
52 views

Enum in PDA does not update, ever

#[derive(AnchorSerialize, AnchorDeserialize, Clone, Copy, PartialEq, Eq, Debug)] #[repr(u8)] pub enum Stage { Initiated, // user has paid Processing, Processed, Finished, } #[derive( ...
dinmavr's user avatar
  • 113