All Questions
2 questions
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 ...
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(
...