From 0009d28caf8b5dd83ab0b72b26d58d271b90ce80 Mon Sep 17 00:00:00 2001 From: pbca26 Date: Fri, 13 Apr 2018 20:32:46 +0300 Subject: [PATCH] agt-180 --- routes/shepherd/coindWalletKeys.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/shepherd/coindWalletKeys.js b/routes/shepherd/coindWalletKeys.js index b3c7b98..3fc4a57 100644 --- a/routes/shepherd/coindWalletKeys.js +++ b/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 {