Skip to content

Commit

Permalink
verified technical requirements and resolved warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ritikbhatt20 committed Nov 26, 2024
1 parent 710a940 commit dddb55a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ declare_id!("2Ry3iUWABuQv8PTjgPwaM1CFHB8D8CtuX6EVzYXQ3PvE");
#[program]
pub mod token_minter {
use super::*;
pub fn create_token(ctx: Context<CreateTokenContext>, decimals: u8) -> Result<()> {
// Note: Initialization for mint handled manually
pub fn create_token(_ctx: Context<CreateTokenContext>, _decimals: u8) -> Result<()> {
// Note: Initialization for mint handled manually
// As Poseidon's transpiler does not support initializeMint yet.

Ok(())
}
pub fn mint_token(ctx: Context<MintTokenContext>, amount: u64) -> Result<()> {
Expand Down

0 comments on commit dddb55a

Please sign in to comment.