CryptozombiesHQ / cryptozombies-lesson-code

cryptozomebie lesson code
GNU General Public License v3.0
2.37k stars 1.06k forks source link

Duplicate zombie when renamed (Lesson 5, Chapter 14) #8

Open TomRvr opened 3 years ago

TomRvr commented 3 years ago

Hi ! First, thank you for this tutorial, I'm new to blockchain development and it's well explained and easy to follow.

It seems that there is a bug. LESSON : 5
CHAPTER : 14
BUG :
When I renamed my zombie from NoName to Jack it duplicated as you can see on the image below with the two identical zombies on the right.
If I rename NoName again it changes Jack's name.

CryptoZombies_L5_C14_duplicate_bug

TomRvr commented 3 years ago

He survived through lesson 6 too...
CryptoZombies_L6_C10_duplicate_bug

samblaeo commented 3 years ago

What is really happening here is that the renamed zombie is the one on the left that you click on. If you want to rename 'NoName', the renamed zombie is the one on the left (Jhon) in your case