trufflesuite / trufflesuite.github.io

Staging Repo of Build Artifacts for Truffle Suite. Find the source at https://github.com/trufflesuite/trufflesuite.com
https://www.trufflesuite.com
34 stars 161 forks source link

Update pet-shop.md - adopt() function #145

Closed yhuag closed 6 years ago

yhuag commented 7 years ago

The adopt() function has incorrect require statement. If the petId is assumed to be within the range from 1 to 14, the require statement should be updated.

bmmpxf commented 6 years ago

Thank @yhuag ! We caught this one already. Please see the updated version of the tutorial, and if you still see an error there, please let us know.