Swap-Aggregator-Subgraph/node_modules/secp256k1/index.js
2022-07-03 07:27:35 +05:30

11 lines
246 B
JavaScript

'use strict'
try {
module.exports = require('./bindings')
} catch (err) {
if (process.env.DEBUG) {
console.error('Secp256k1 bindings are not compiled. Pure JS implementation will be used.')
}
module.exports = require('./elliptic')
}