PatrickAlphaC / hardhat-smartcontract-lottery-fcc

MIT License
117 stars 183 forks source link

fixed charging 0.1 ETH instead of 0.01 ETH #204

Closed sebastianovide closed 4 months ago

sebastianovide commented 4 months ago

see https://github.com/smartcontractkit/full-blockchain-solidity-course-js/discussions/6476#discussion-6297676 the +1 is executed as string concatenation as a consequence it multiplies by 10 the entrance fee.