Skip to content

Commit

Permalink
change order of mint
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Wolf <wolfynft@gmail.com>
  • Loading branch information
wolfy-nft committed Jan 14, 2025
1 parent 65af906 commit 94a4bd0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/nft/erc1155m/clones/ERC1155MagicDropCloneable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,12 @@ contract ERC1155MagicDropCloneable is ERC1155MagicDropMetadataCloneable {

_increaseSupplyOnMint(to, tokenId, qty);

_mint(to, tokenId, qty, data);

if (stage.price != 0) {
_splitProceeds();
}

_mint(to, tokenId, qty, data);
emit TokenMinted(to, tokenId, qty);
}

Expand Down

0 comments on commit 94a4bd0

Please sign in to comment.