Fix signature validation

On the correct according to the documentation.
Yep, and I'm sure for beginners similar example would be useful.