Skip to content
Discussion options

You must be logged in to vote

putting this code in my solidity Fixed the issue

fallback() external payable {
        if (msg.value > 100) {
            fund();
        }
    }

then i compiled the contract again , cleared my metamask account from the settings , and ran the node again
it worked

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@ippy1997
Comment options

@othaime-en
Comment options

Comment options

You must be logged in to vote
2 replies
@othaime-en
Comment options

@tombullock
Comment options

Answer selected by ippy1997
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants