Skip to content

Commit

Permalink
fix mint
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkSackerberg committed Mar 15, 2024
1 parent 3d31c5d commit 25e210a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sugar-cli"
version = "2.7.0"
version = "2.7.1"
edition = "2021"
description = "Command line tool for creating and managing Metaplex Candy Machines."
license = "Apache-2.0"
Expand Down
3 changes: 0 additions & 3 deletions src/mint/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,8 @@ pub async fn mint(
let metadata_pda = find_metadata_pda(&nft_mint.pubkey());
let master_edition_pda = find_master_edition_pda(&nft_mint.pubkey());

let priority_fee_ix = ComputeBudgetInstruction::set_compute_unit_price(priority_fee);

let mint_ix = program
.request()
.instruction(priority_fee_ix)
.accounts(nft_accounts::MintV2 {
candy_machine: candy_machine_id,
authority_pda,
Expand Down

0 comments on commit 25e210a

Please sign in to comment.