should verify a valid signature, and unverify an invalid signature:
TypeError: Cannot read properties of undefined (reading 'gt')
at ECDSA.sigError (lib\crypto\ecdsa.js:168:11)
at ECDSA.verify (lib\crypto\ecdsa.js:271:13)
at Function.ECDSA.verify (lib\crypto\ecdsa.js:293:6)
at Context.<anonymous> (test\crypto\ecdsa.js:261:15)
at callFn (node_modules\_mocha@6.2.3@mocha\lib\runnable.js:387:21)
at Test.Runnable.run (node_modules\_mocha@6.2.3@mocha\lib\runnable.js:379:7)
at C:\Users\Administrator\Desktop\bitcore-lib\node_modules\_mocha@6.2.3@mocha\lib\runner.js:653:12
at next (node_modules\_mocha@6.2.3@mocha\lib\runner.js:447:14)
at C:\Users\Administrator\Desktop\bitcore-lib\node_modules\_mocha@6.2.3@mocha\lib\runner.js:457:7
at next (node_modules\_mocha@6.2.3@mocha\lib\runner.js:362:14)
at Immediate._onImmediate (node_modules\_mocha@6.2.3@mocha\lib\runner.js:425:5)
at processImmediate (node:internal/timers:464:21)
[09:39:02] 'testmocha' errored after 15 s
[09:39:02] Error in plugin "gulp-mocha"
Message:
There were test failures
Details:
domainEmitter: [object Object]
domainThrown: false
node v16.13.0
`1) ECDSA signing and verificationverify
[09:39:02] 'testmocha' errored after 15 s [09:39:02] Error in plugin "gulp-mocha" Message: There were test failures Details: domainEmitter: [object Object] domainThrown: false
[09:39:02] 'default' errored after 15 s`