BitGo / key-recovery-service-v2

Key Recovery Service server for all v2 coins and ERC20 tokens
Apache License 2.0
8 stars 21 forks source link

fix(package.json): update packages importing elliptic #88

Closed aaldemir closed 3 years ago

aaldemir commented 3 years ago

Motivation

update elliptic npm package to latest version due to risk of signature malleability

Overview Of Changes

dependency changes in addition to one line in krs.js to include a useFindAndModify parameter because of a deprecation warning for using findOneAndUpdate (more detail here)

Ticket: BG-23533

aaldemir commented 3 years ago

Currently getting an error when unit testing in the before all hook: done() called multiple times in hook <Application Server "before all" hook> of file /.../key-recovery-service-v2/test/app.js; in addition, done() received error: MongoError: pool is draining, new operations prohibited