The test succeeds as expected using any set of messages/signatures/publicKeys in your integration test data, however it fails 100% of the time when I try to use my own values for the arguments. The equivalent works just fine for me using the ellipticnpm package.
Hi there,
I am having some difficulty with the
Secp256k1.validateSignature
function. In order to debug this, I created a simple test contact:which I run from within a
mocha
test viatruffle
The test succeeds as expected using any set of messages/signatures/publicKeys in your integration test data, however it fails 100% of the time when I try to use my own values for the arguments. The equivalent works just fine for me using the
elliptic
npm
package.But when I use this in the context of the test calling
Secp256k1.validateSignature
, it fails 100% of the time.