Open zk1tty opened 7 months ago
Who trigger this function? MINTER_ROLE wallet? Then msg.sender is MINTER_ROLE wallet. So function need to take user_wallet_address individually, and we should change msg.sender to user_wallet_address.
https://github.com/PinkyNFT/pinky-contracs/blob/0e842b39bcefeaad0de0900f08ca0516841f619a/contracts/PinkyNFT.sol#L82-L83
@zk1tty check commit 0d62f20ac2601fcc8c9852dbe39502b8ccd5efdb
Who trigger this function? MINTER_ROLE wallet? Then msg.sender is MINTER_ROLE wallet. So function need to take user_wallet_address individually, and we should change msg.sender to user_wallet_address.
https://github.com/PinkyNFT/pinky-contracs/blob/0e842b39bcefeaad0de0900f08ca0516841f619a/contracts/PinkyNFT.sol#L82-L83