Post
Topic
Board Bitcoin Technical Support
Re: false to verify ECDSA sinature in golang
by
bob123
on 14/08/2018, 06:10:22 UTC
i make a mistake just now, now i return false too.  so can you help me find why fault??

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 ?