Browse Source

fix trailing whitespace

John 2 years ago
parent
commit
2276da9b56

+ 1 - 1
tokens/pda-mint-authority/anchor/programs/token-minter/src/instructions/create.rs

@@ -24,7 +24,7 @@ pub struct CreateToken<'info> {
         mint::decimals = 9,
         mint::authority = mint_account.key(),
         mint::freeze_authority = mint_account.key(),
-        
+
     )]
     pub mint_account: Account<'info, Mint>,
 

+ 2 - 2
tokens/spl-token-minter/anchor/programs/spl-token-minter/src/instructions/create.rs

@@ -18,7 +18,7 @@ pub struct CreateToken<'info> {
         mint::decimals = 9,
         mint::authority = payer.key(),
         mint::freeze_authority = payer.key(),
-        
+
     )]
     pub mint_account: Account<'info, Mint>,
     /// CHECK: Address validated using constraint
@@ -50,7 +50,7 @@ pub fn create_token(
             CreateMetadataAccountsV3 {
                 metadata: ctx.accounts.metadata_account.to_account_info(),
                 mint: ctx.accounts.mint_account.to_account_info(),
-                mint_authority: ctx.accounts.payer.to_account_info(), 
+                mint_authority: ctx.accounts.payer.to_account_info(),
                 update_authority: ctx.accounts.payer.to_account_info(),
                 payer: ctx.accounts.payer.to_account_info(),
                 system_program: ctx.accounts.system_program.to_account_info(),

+ 2 - 2
tokens/transfer-tokens/anchor/programs/transfer-tokens/src/instructions/create.rs

@@ -18,7 +18,7 @@ pub struct CreateToken<'info> {
         mint::decimals = 9,
         mint::authority = payer.key(),
         mint::freeze_authority = payer.key(),
-        
+
     )]
     pub mint_account: Account<'info, Mint>,
 
@@ -51,7 +51,7 @@ pub fn create_token(
             CreateMetadataAccountsV3 {
                 metadata: ctx.accounts.metadata_account.to_account_info(),
                 mint: ctx.accounts.mint_account.to_account_info(),
-                mint_authority: ctx.accounts.payer.to_account_info(), 
+                mint_authority: ctx.accounts.payer.to_account_info(),
                 update_authority: ctx.accounts.payer.to_account_info(),
                 payer: ctx.accounts.payer.to_account_info(),
                 system_program: ctx.accounts.system_program.to_account_info(),