PatrickAlphaC / hardhat-nft-fcc

100 stars 139 forks source link

Added another test for the "requestNFT" function #32

Closed MozharAlhosni closed 1 year ago

MozharAlhosni commented 2 years ago

Added another test (condition/statement) for the function "requestNft" when the payment amount sent is less than that of the mint fee. If there is a better (more dynamic/safe?) way to do this please share it.

PatrickAlphaC commented 2 years ago

Looks like this would do well with the error changes: https://github.com/PatrickAlphaC/hardhat-nft-fcc/pull/31