Skip to content

Commit 76462f0

Browse files
authored
Merge pull request #88 from aaldemir/BG-23533-bump-elliptic-dependencies
fix(package.json): update packages importing elliptic
2 parents 7d98115 + 22c90be commit 76462f0

File tree

3 files changed

+23448
-3946
lines changed

3 files changed

+23448
-3946
lines changed

app/krs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const provisionMasterKey = co(function *(coin, customerId) {
6161
const keyType = process.config.supportedcoins[coin];
6262

6363
const key = yield MasterKey.findOneAndUpdate({ coin: null, customerId: null, type: keyType },
64-
{ coin: coin, customerId: customerId, type: keyType });
64+
{ coin: coin, customerId: customerId, type: keyType }, { useFindAndModify: false });
6565

6666
if (!key) {
6767
throw utils.ErrorResponse(500, `no available ${keyType} keys`);

0 commit comments

Comments
 (0)