In the same issue as the last one, how would you ensure user can use any types of brackets when adding the seeds. So all 3 of the following should be supported
#[derive(Accounts]) struct SomeContext<'info> {
#[account(mut)]
signer: Signer<'info>,
#[account(init, payer = signer, size = 16, seeds = [b"prefix", signer.key().as_ref()], bump]
something: Account<'x, ...>,
}
#[derive(Accounts]) struct SomeContext<'info> {
#[account(mut)]
signer: Signer<'info>,
#[account(init, payer = signer, size = 16, seeds = (b"prefix", signer.key().as_ref()), bump]
something: Account<'x, ...>,
}
#[derive(Accounts]) struct SomeContext<'info> {
#[account(mut)]
signer: Signer<'info>,
#[account(init, payer = signer, size = 16, seeds = {b"prefix", signer.key().as_ref()}, bump]
something: Account<'x, ...>,
}