Closed reneaaron closed 1 year ago
somehow I think verifyMessage should be deprecated. I don't really know what the use case for this is and nobody uses it it seems.
I had the same thought. If we can't come up with a valid use case I'd rather throw a NotImplementedException()
than confusing users with API methods that don't work / make no sense.
Should we remove that code?
I would say so. I think the right way to remove this code is to to throw an exception in webln.verifyMessage()
and tell developers that this method is not supported by Alby. (there are also other WebLN providers that don't support all methods)
Describe the bug
Signing and verifying a message isn't creating valid signatures, currently they are
{ valid: false }
.➡️ Demo (see console output)
Expected behavior
verifyMessage
?