Potentially should be constant/view/pure but is not error in the code #1802
Answered
by
cromewar
ShivSankar
asked this question in
Q&A
-
I'm getting the warning which is highlighted in yellowish color when I' m using this code. I understand that the issue in addPeople function but can anyone tell me how to get rid of it? |
Beta Was this translation helpful? Give feedback.
Answered by
cromewar
Dec 6, 2022
Replies: 1 comment
-
I checked this and there is nothing wrong with your code, this is just a recommendation provided by the solidity extension on REMIX but you can safely ignore this warning, you cannot use those types because:
I hope this info might help, cheers. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cromewar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I checked this and there is nothing wrong with your code, this is just a recommendation provided by the solidity extension on REMIX but you can safely ignore this warning, you cannot use those types because:
I hope this info might help, cheers.