Browse Source

agt-180

custom-ac-example
pbca26 7 years ago
parent
commit
0009d28caf
  1. 2
      routes/shepherd/coindWalletKeys.js

2
routes/shepherd/coindWalletKeys.js

@ -13,7 +13,7 @@ module.exports = (shepherd) => {
const chain = req.query.chain;
// ref: https://gist.github.com/kendricktan/1e62495150ad236b38616d733aac4eb9
let _walletDatLocation = chain === 'komodo' || chain === 'null' ? `${shepherd.komodoDir}/wallet.dat` : `${shepherd.komodoDir}/${chain}/wallet.dat`;
let _walletDatLocation = chain === 'komodo' || chain === 'KMD' || chain === 'null' ? `${shepherd.komodoDir}/wallet.dat` : `${shepherd.komodoDir}/${chain}/wallet.dat`;
_walletDatLocation = chain === 'CHIPS' ? `${shepherd.chipsDir}/wallet.dat` : _walletDatLocation;
try {

Loading…
Cancel
Save