Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game 2 - payable keyword #4

Open
Brivan-26 opened this issue Dec 27, 2022 · 1 comment
Open

Game 2 - payable keyword #4

Brivan-26 opened this issue Dec 27, 2022 · 1 comment

Comments

@Brivan-26
Copy link

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?

@sio-doh
Copy link

sio-doh commented Apr 20, 2023

True. For functionality purposes payable keyword should be removed as no ether transfer is occurring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants