Lesson 1 Error #1391
Answered
by
pygpt
Friend-Forest
asked this question in
Q&A
Lesson 1 Error
#1391
-
`pragma solidity ^0.6.0; contract SimpleStorage {
// this will get intialized to 0
uint256 public favoriteNumber;
function store(unit256 _favoriteNumber) public {
favoriteNumber = _favoriteNumber;
}
}`
I'm recieving this error when I try to compile the code. contracts/Simple Storage.sol:8:20: DeclarationError: Identifier not found or not unique. |
Beta Was this translation helpful? Give feedback.
Answered by
pygpt
Apr 17, 2022
Replies: 2 comments
-
Tottaly missed this @Friend-Forest |
Beta Was this translation helpful? Give feedback.
0 replies
-
you typed "unit256" instead of "uint256" |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
cromewar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you typed "unit256" instead of "uint256"