You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following code in Lotter.test.js should explicitly convert output of web3.utils.toWei to int as parseInt(await web3.utils.toWei('0.01', 'ether'). I understand the type casting implicit conversion but for pedagogical purpose above seems more helpful.
Following code in
Lotter.test.js
should explicitly convert output ofweb3.utils.toWei
toint
asparseInt(await web3.utils.toWei('0.01', 'ether')
. I understand the type casting implicit conversion but for pedagogical purpose above seems more helpful.The text was updated successfully, but these errors were encountered: