PinkyNFT / pinky-contracs

Smart contracts related to v1 Pinky release
0 stars 0 forks source link

change msg.sender to user_wallet_address. #9

Open zk1tty opened 7 months ago

zk1tty commented 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

toufique-imam commented 7 months ago

@zk1tty check commit 0d62f20ac2601fcc8c9852dbe39502b8ccd5efdb