Set correct mutability on Initialize
Change-Id: I102cb98678cc20fad6cb07da8835c1effa4973ea
This commit is contained in:
parent
f8174b7355
commit
191537ef8a
|
@ -5,8 +5,9 @@ use std::ops::{Deref, DerefMut};
|
|||
|
||||
#[derive(FromAccounts)]
|
||||
pub struct Initialize<'b> {
|
||||
pub payer: Signer<AccountInfo<'b>>,
|
||||
pub config: ConfigAccount<'b, { AccountState::Uninitialized }>,
|
||||
pub payer: Mut<Signer<AccountInfo<'b>>>,
|
||||
|
||||
pub config: Mut<ConfigAccount<'b, { AccountState::Uninitialized }>>,
|
||||
}
|
||||
|
||||
impl<'b> InstructionContext<'b> for Initialize<'b> {}
|
||||
|
|
Loading…
Reference in New Issue