Skip to content

requestNft func. declaration error? #647

Answered by mattjaf
valentinfernandez1 asked this question in Q&A
Discussion options

You must be logged in to vote

are you getting an error when compiling?

It defines the return variable in the function signature returns (uint256 requestId) its pretty much the same thing as

function requestNft() public payable returns (uint256) {
        //logic
       return requestId; // <-----------------------
    }

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PatrickAlphaC
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