From efedc6ab71bcd15be9445e445fae026545bd7f2f Mon Sep 17 00:00:00 2001 From: Sewmina Dilshan Date: Wed, 18 Jun 2025 20:12:17 +0530 Subject: [PATCH] fixed warning --- programs/bets/src/instructions/close_bet_token.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/bets/src/instructions/close_bet_token.rs b/programs/bets/src/instructions/close_bet_token.rs index 73bf16c..018a049 100644 --- a/programs/bets/src/instructions/close_bet_token.rs +++ b/programs/bets/src/instructions/close_bet_token.rs @@ -3,7 +3,7 @@ use anchor_spl::{ associated_token::AssociatedToken, token_interface::{TokenAccount, TokenInterface}, }; -use crate::{error::BettingError, shared::transfer_tokens, *}; +use crate::{error::BettingError, shared::transfer_tokens_pda, state::{BetVault, BetsList}}; pub fn close_token_bet(ctx: Context, winner: Pubkey, userid: String) -> Result<()> { let bet_vault = &mut ctx.accounts.bet_vault;