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
On Contract 2, the switchOn function has the payable keyword, but there's no ether transfer neither on the contract nor on the test file.
I guess the payable keyword should be removed, or Am i missing something?
The text was updated successfully, but these errors were encountered:
On Contract 2, the
switchOn
function has thepayable
keyword, but there's no ether transfer neither on the contract nor on the test file.I guess the payable keyword should be removed, or Am i missing something?
The text was updated successfully, but these errors were encountered: