1- use std:: { cmp :: min , fmt:: Debug , thread :: sleep , time :: Duration } ;
1+ use std:: fmt:: Debug ;
22
33use anchor_lang:: AccountDeserialize ;
44use mpl_token_metadata:: pda:: find_collection_authority_account;
@@ -18,9 +18,9 @@ use mpl_candy_machine::{
1818use crate :: {
1919 add_all_config_lines, airdrop, clone_keypair,
2020 core:: {
21- assert_acount_empty, clone_pubkey, create_mint, get_balance, get_mint , get_token_account ,
22- get_token_balance , master_edition_v2:: MasterEditionV2 as MasterEditionManager , metadata,
23- mint_to_wallets , prepare_nft,
21+ assert_acount_empty, clone_pubkey, create_mint, get_balance, get_token_balance ,
22+ master_edition_v2:: MasterEditionV2 as MasterEditionManager , metadata, mint_to_wallets ,
23+ prepare_nft,
2424 } ,
2525 get_account,
2626 helper_transactions:: { remove_collection, set_collection} ,
@@ -82,6 +82,7 @@ impl Clone for CollectionInfo {
8282}
8383
8484impl CollectionInfo {
85+ #[ allow( dead_code) ]
8586 pub fn new (
8687 set : bool ,
8788 pda : Pubkey ,
@@ -157,6 +158,7 @@ pub struct TokenInfo {
157158}
158159
159160impl TokenInfo {
161+ #[ allow( dead_code) ]
160162 pub fn new (
161163 set : bool ,
162164 mint : Pubkey ,
@@ -252,6 +254,7 @@ impl Default for WhitelistConfig {
252254}
253255
254256impl WhitelistInfo {
257+ #[ allow( dead_code) ]
255258 pub fn new (
256259 set : bool ,
257260 mint : Pubkey ,
@@ -449,6 +452,7 @@ impl CandyManager {
449452 Ok ( ( ) )
450453 }
451454
455+ #[ allow( dead_code) ]
452456 pub async fn remove_collection (
453457 & mut self ,
454458 context : & mut ProgramTestContext ,
0 commit comments