metaplex-foundation / sugar

Candy Machine Rust CLI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug]: Whitelist minting doesn't work

legendaryangelist opened this issue · comments

Issue description

I deployed new candymachine with 10 items using sugar-cli.
After deployed, I set whitelist mint setting and updated candymachine config.
When I test to mint using sugar mint command, it works well.
In other words, non-whitelist user couldn't mint NFT.
But When using candymachine UI with the candymachine ID, it doesn't work.
Anybody can mint NFTs.
I think it's a major bug.

Relevant log output

No response

Priority this issue should have

High (immediate attention needed)

Could you share some code?

sugar config file? repo with the bug reproduced?

okay
I noticed that wl minting doesn't work when "presle": true.
but when "presale": false, it works.
so i changed from "presle": true to "presle": false

 "whitelistMintSettings": {
    "mode": "neverBurn",
    "mint": "43T5td414Kw16chwiFpHEmzYXLJLxHFGGnjqAEaomb2g",
    "presale": false,
    "discountPrice": null
  },