Skip to content

Compiling issues on SimpleStorage.sol #169

Answered by Magofoco
cryptowhor3 asked this question in Q&A
Discussion options

You must be logged in to vote

I think you forgot to add the closing } for the retrieve function.

    function retrieve() public view returns(uint256){
        return favoriteNumber;
    } <-- This is missing

Replies: 1 comment 2 replies

Comment options

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

@Magofoco
Comment options

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