back to no init
This commit is contained in:
parent
87e72eb655
commit
3b6421a3f5
|
|
@ -120,8 +120,7 @@ pub struct DeductFeesToken<'info> {
|
|||
pub token_mint: InterfaceAccount<'info, anchor_spl::token_interface::Mint>,
|
||||
|
||||
#[account(
|
||||
init_if_needed,
|
||||
payer = payer,
|
||||
mut,
|
||||
associated_token::mint = token_mint,
|
||||
associated_token::authority = bet_vault,
|
||||
associated_token::token_program = token_program
|
||||
|
|
@ -129,8 +128,7 @@ pub struct DeductFeesToken<'info> {
|
|||
pub token_vault: InterfaceAccount<'info, TokenAccount>,
|
||||
|
||||
#[account(
|
||||
init_if_needed,
|
||||
payer = payer,
|
||||
mut,
|
||||
associated_token::mint = token_mint,
|
||||
associated_token::authority = fee_wallet,
|
||||
associated_token::token_program = token_program
|
||||
|
|
@ -138,8 +136,7 @@ pub struct DeductFeesToken<'info> {
|
|||
pub fee_wallet_token_account: InterfaceAccount<'info, TokenAccount>,
|
||||
|
||||
#[account(
|
||||
init_if_needed,
|
||||
payer = payer,
|
||||
mut,
|
||||
associated_token::mint = token_mint,
|
||||
associated_token::authority = owner_referrer,
|
||||
associated_token::token_program = token_program
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user