According to your edit, you changed that part of the code ?
So now, if the signature can be verified, you'll get true.
And if the signature can not be verified, you'll get false.
Now, if you make a mistake (i assume you mean that you change some characters of the necessary data?), the function has to return false, which also will give you a false as output.
This seems to be right for me. What exactly doesn't work ? Do you mean that the function ecdsa.Verify does always return the same ?
hello friend ,very thinks your reply. don't care about true and false, it just my error when Copy the go code。very sorry. but the real problem is : though the three information(public key、signatrue、and hash), i can not verify it though the go code, but someone tell me the three information is right because he has verify in other ways. so i want to kown what fault in this go code make me get the false result.
i am very anxious