trying to create a good question #3220
Answered
by
alymurtazamemon
uditrajawat
asked this question in
Q&A
-
fallback() payable{
result =2;
//it is used to send data with transcation
}
on this function im running into an error:
i am having error in this code can someone help me out? |
Beta Was this translation helpful? Give feedback.
Answered by
alymurtazamemon
Oct 11, 2022
Replies: 1 comment
-
@uditrajawat fallback function must be external fallback() external payable{
result =2;
//it is used to send data with transcation
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
uditrajawat
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@uditrajawat fallback function must be external