Type tuple() is not implicitly convertible to expected type bool #5655
Answered
by
aaankeet
darshilmistry
asked this question in
Q&A
-
Can someone please explain me what does this problem means and why is it happening? This is the full problem:
I had updated a function or two and then this happened... |
Beta Was this translation helpful? Give feedback.
Answered by
aaankeet
Jun 11, 2023
Replies: 1 comment 6 replies
-
Event invocations have to be prefixed by "emit". You need to use |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@darshilmistry
In
transfer
functionsuccess
is of type of bool but you are assigning its value to a tuple on line 3 which is not allowed. Aboolean
can either betrue
orfalse
.That's why you are getting this error : Type tuple() is not implicitly convertible to expected type bool.