Closed masud-abdulkadir closed 6 months ago
When attempting to use verify_message() function, using Singature kept leading to InvalidSignature.
As such, we replaced Signature with MessageSignature from bitcoin::sign_message::MessageSignature.
We also noticed that there was a // TODO comment to test verify_message, so we also added a test function and it works with the new MessageSignature.
Legendary, thanks!
When attempting to use verify_message() function, using Singature kept leading to InvalidSignature.
As such, we replaced Signature with MessageSignature from bitcoin::sign_message::MessageSignature.
We also noticed that there was a // TODO comment to test verify_message, so we also added a test function and it works with the new MessageSignature.